Commit graph

84 commits

Author SHA1 Message Date
Robo cf7ddbb51d
fix: use legacy server as default with additional warnings (#204377)
* ci: switch to glibc 2.17 remote server

* chore: signal user about unsupported connection

* chore: address review comments

* chore: update nodejs build

* chore: bump distro

* chore: lower the minimum requirements

* fix: glibc version check

* chore: remove explicit connection disposal
2024-02-06 11:25:58 +01:00
Robo e7b5076dd7
refactor: use sysroots on linux prod pipeline (#192513)
* ci: use sysroots on linux prod pipeline to build native modules

* ci: rebuild after electron update
2023-12-12 11:39:00 +01:00
Ladislau Szomoru f0fad066a3
Engineering - Rename .git-blame-ignore to .git-blame-ignore-revs (#196816) 2023-10-27 12:34:22 +02:00
Robo 00039b0fcf
refactor: linux pipeline to use containers only for yarn step (#188383)
* ci: use container only in yarn step

* chore: invalidate cache

* chore: install missing deps for packaging

* chore: remove duplicate package installations

* fix: oss build

* chore: separate deb and rpm package preparation

* chore: mount out folder when packaging

* ci: switch to official docker image
2023-07-20 21:02:56 -07:00
João Moreno aac80c3f0a
Adopt new distro format (#178689)
* Simplify distro

Also a ton of drive-by fixing around builds:
- simplified many oneliners
- fixed missing custom npm registry call setups
- remove unnecessary and duplicate work during builds
- many many fixes
2023-04-02 09:35:39 +02:00
João Moreno 5854ef865c
Generate policies again (#149322)
* Generate ADMX/ADML policy declaration files from static analysis

Fixes: #148941

* fix build

* move to optional dependencies
2022-05-12 09:16:03 +02:00
Joyce Er ba8ced85c5
Revert "Generate ADMX/ADML policy declaration files from static analysis" (#149194)
This reverts commit dcfe6b3b84.
2022-05-10 16:30:34 -07:00
João Moreno dcfe6b3b84
Generate ADMX/ADML policy declaration files from static analysis
Fixes: #148941
2022-05-10 13:17:05 +02:00
Joao Moreno 29ef778b1c
fixes #145397 2022-03-18 13:54:12 +01:00
Alex Dima bd9d4d5b51
Add support for arm64 for server builds 2022-03-14 16:22:54 +01:00
Robo 32d40cf44e
chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0

* Revert "chore: revert to electron@13 (#143851)"

This reverts commit df645f1450.

* chore: bump electron@17.1.0

* Revert "ci: fix build with latest node-gyp"

This reverts commit c3e948aa30.

* chore: revert ci changes for node v16

* chore: update yarn.lock

* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Matt Bierner 37f3aa632f
Adding jsconfig for npm scripts 2022-02-28 15:06:43 -08:00
Matt Bierner d6d2122c50
Enable type checking in more js build files 2022-02-28 14:41:26 -08:00
Alex Dima 6289768fc2
Force using x64 when running yarn on the remote folder on macOS 2022-02-28 18:12:04 +01:00
Robo df645f1450
chore: revert to electron@13 (#143851)
* Revert "chore: update to electron 16 (#137241)"

This reverts commit 01df559c18.
This reverts commit 46301339b7

* ci: fix remote compiler for sdl-scan

* chore: fix remote/.yarnrc

* chore: fix build/npm/postinstall.js

* chore: rm crash reporter from shared process

* chore: rm crash reporter from ext host

* chore: fix build/lib/layersChecker.ts

* :chore: preserve some more changes

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
Robo 01df559c18
chore: update to electron 16 (#137241)
* chore: bump electron@15.3.0

* chore: bump node@16.x

* chore: enable render process reuse

* Revert "watcher - use `type` property for crash reporter location"

This reverts commit bfa488dd8f.

* Revert "watcher - enable crash reports on linux (#136264)"

This reverts commit af261488f8.

* chore: enable crashpad on linux

* chore: bump electron@15.3.1

* chore: update api changes

* chore: bump @vscode/sqlite3@5.0.3

* spec: skip non-context aware module unittests

* chore: fix perf hook integration with node environment

* fix: adopt fs api changes

* chore: fix integration tests

* chore: bump electron@15.3.2

* chore: bump electron@16.0.0

* temp(macOS): kill test instances in OSS

* Revert "temp(macOS): kill test instances in OSS"

This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.

* chore: update chromium version for clang downloader

* some 💄 changes

* align with changes

* adopt more fs.rm

* 💄

* chore: bump @vscode/sqlite3@5.0.4

* fix layers check to account for duplicated types from node.js

* update todo for type casts

* smoke - fix compile issue

* chore: update module cache

* watcher - fix unhandled rejection (fix #137416)

* ci: update node version

* enable stack dumping

* update electron types to 16.x

* chore: bump @vscode/sqlite3@5.0.5

Refs https://github.com/microsoft/vscode/issues/137496

* fix layer issue

* add `AbortSignal` to core types

* chore: update linux compile flags

Refs 797723ec83

* ci: fix linux build

* ci: update github ci cache

* ci: fix remote build in github ci

* ci: better fix for remote build

* chore: bump azure cache

* chore: fix merge conflict

* :chore: update to electron@16.0.2

* chore: bump @vscode/sqlite3@5.0.7

* ci: update to gcc-4.9 for remote

Refs https://github.com/microsoft/vscode/issues/137659

* ci: switch to buster for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: fix build on linux arm64

* ci: fix arm client compiler toolchain

Refs #137927

* chore: bump electron@16.0.3

* ci: fix compile flags for the c toolchain

* chore: bump electron@16.0.4

* Add experimental dark mode flag (#139109)

* Add experimental dark mode flag

* Apply PR feedback

* chore: bump electron@16.0.6

* chore: bump electron@16.0.7

Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300

* chore: experimental highlight API

* smoke - fix compile issue

* FIXME: custom ELECTRON_RUN_AS_NODE with node worker

* Revert "chore: bump electron@16.0.7"

This reverts commit 5fd01cf37c.

* Revert "Revert "chore: bump electron@16.0.7""

This reverts commit a7f1b73951.

* chore: fix github linux workflow

* chore: address review feedback

* chore: bump electron@16.0.8

* ci: revert to stretch distro for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: force build

* chore: update yarn.lock

* address feedback

* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"

This reverts commit 7b48fa3732.

* ci: fix remote folder build

* chore: fix github linux ci

* 🆙 `versionSpec`

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
Robo b7712c07fa
refactor: build x64 remote modules with same toolchain as binary (#142023)
* refactor: build x64 remote modules with same toolchain as binary

Refs https://github.com/nodejs/node/blob/master/BUILDING.md#official-binary-platforms-and-toolchains
Fixes https://github.com/microsoft/vscode/issues/137659

* chore: split client and server stages for x64

* chore: add build dependencies

* Revert "chore: add build dependencies"

This reverts commit f9077c9ebd6017bd973db9366dc3d7f336293742.

* chore: build step requires root dependencies

* chore: only perform module installation in separate stage

* chore: fix target path

* chore: run server stage in parallel to compile

* chore: fix dependency chain

* chore: declare parallel dependecy

* chore: fix artifact name

* chore: publish as archive to preserve file types

* chore: fix target directory for extraction

* chore: update postinstall script
2022-02-03 07:56:21 -08:00
Logan Ramos 8079e0b721
Move webNodePaths to run on compile since we rimraf out 2021-08-10 16:56:23 -04:00
Logan Ramos 6533d46465
Fix case where out/vs doesn't exist 2021-08-10 15:13:27 -04:00
Logan Ramos 82e4bc85cd
Dynamically generate web package paths 2021-08-10 14:44:58 -04:00
Robo 4fee848f2f
fix: CXXABI requirements for older distros (#129360)
* fix: use clang and libcxx from chromium

* chore: add flags for Link-Time Optimization

libcxx builds from upstream are built with LTO, avoiding these
flags will cause miscompiles

* chore: add lto flags to compilation units
2021-08-06 08:48:45 -07:00
João Moreno 7c1e41b091
introduce git-blame-ignore 2021-07-06 20:30:21 +02:00
João Moreno 6fed85aaf9
pull.rebase merges 2021-06-22 19:55:13 +02:00
Alexandru Dima 76c974bfeb
Have a clear list of directories where yarn should be executed 2020-12-23 11:28:32 +01:00
Alexandru Dima 90f9a7de88
Execute yarn --ignore-engines for extensions 2020-12-18 10:26:13 +01:00
Alexandru Dima 1141224b80
Remove debug console log 2020-12-18 10:26:13 +01:00
João Moreno fd85ae4f4a
Avoid recompiling remote native node modules (#112644)
* avoid recompiling remote native node modules

fixes #112320

* fix build

* update cache

* empty

* chore: remove rebuild step

* chore: update salt

* product compile should use same CC CXX

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2020-12-17 02:16:32 -08:00
João Moreno 908503ee89 ignore remote and web when yarn in arm64 2020-07-13 15:23:54 +02:00
João Moreno 6968ef84a0 force rebase when pulling 2020-07-01 20:34:22 +02:00
João Moreno 04be06ff6f fix skip remote 2020-05-20 15:23:10 +02:00
João Moreno d424ff23ca skip remote for win32 arm64 2020-05-20 15:18:21 +02:00
Joao Moreno 56cd2882a1 fix env in postinstall 2020-02-21 16:39:59 +01:00
Benjamin Pasero 4be3cc8846 test - convert web integration to TS 2020-02-07 12:41:12 +01:00
Rachel Macfarlane 06a48362f3 Replace typings file for windows-process-tree with @types module 2019-11-12 16:00:33 -08:00
Rob Lourens 1b5a3ac156 Delete module version check that is now redundant with similar check in hygiene 2019-10-24 09:23:53 -07:00
Joao Moreno b53811e67e fix npm postinstall step, remove xterm from version matching 2019-10-24 08:20:25 +02:00
Jason Ginchereau 3d08742789 Add automation to root postinstall script 2019-09-09 09:30:34 -07:00
Johannes Rieken 2b46fe4c30 adopt gulp-tsb 4.0.0, remove postinstall hacks 2019-09-06 17:21:36 +02:00
Matt Bierner cf446b9233 Build VS Code using TS 3.6
Fixes #80079

Updates our build to use TS 3.6. Fixes a few changes to dom apis and adds a monkey patch for the node typings break in 3.6
2019-09-02 21:27:52 -06:00
Rob Lourens a726cef3c3 Check that modules in both the base package.json and remote/ have the same version installed 2019-08-12 14:51:47 -07:00
Benjamin Pasero 1648e1dcf8 web - add build 2019-07-14 13:12:54 +02:00
Joao Moreno f15e5a706b use yarn --frozen-lockfile for builds 2019-06-26 11:17:31 +02:00
Alex Dima 8b08ad7e8a Add /remote/ 2019-05-22 15:59:37 +02:00
Alex Dima 0c203ce857 Respect usage of yarn with --ignore-optional 2019-03-19 16:53:41 +01:00
Segev Finer ba41bffa99 Print a message before installing dependencies in npm post install
Should make it easier to see what it's doing and debugging failures.
2019-01-23 23:40:46 +02:00
Matt Bierner cf4e17cd4b Remove windows-process-tree types if they get installed
These typings cause duplicate identifier errors on windows tsc builds
2018-11-08 17:49:45 -08:00
Matt Bierner a3fa7ad178 Adding some typings in npm scripts 2018-10-15 17:39:33 -07:00
Martin Aeschlimann 3d5c51bc30 postinstall: remove hardcoded extension list 2018-03-18 17:29:53 +01:00
Matt Bierner 691da9b3a3 Split markdown extension into markdown and markdown-basics 2018-02-28 20:37:02 -08:00
Joao Moreno 838f4024b3 fixes #43973 2018-02-27 15:41:46 +01:00