Commit Graph

24 Commits

Author SHA1 Message Date
Connor Peet
52840e3ca5 cli: cleanup build (#190213)
- Remove the `prepare` script entirely
- Variables are now populated from the product.json during build. Most
  variables are mapped automatically, with some special handling in a
	few cases. `build.rs` is now much more self-contained.
- Look for the `product.overrides.json` for vscode developers instead of
  looking for a peer `vscode-distro` folder

Fixes #178691
2023-08-10 20:14:30 -07:00
Robo
ea490e5545 chore: update to Electron 25 (#188268)
* chore: update electron@25.3.0

* ci: update NodeTool version

* chore: update @types/node

* add more common types to layers checker

* chore: update debian dependencies

* chore: update rpm dependencies

* fix: use legacy dns result order of Node.js

* ci: remove deprecated always-auth npm config

Refs npm/cli@72a7eeb

* chore: update deb and rpm dependencies

* chore: update armhf rpm dependencies

* chore: update x64 debian dependencies

* chore: update x64 rpm dependencies

* chore: update electron@25.3.1

* chore: update electron@25.4.0

* chore: bump distro

* chore: bump distro

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-08-07 21:46:27 +09:00
Connor Peet
43742d891d Run a lint build of the CLI in CI (#184545)
* cli: adopt sccache for speedier cli compilations

* only cache common linux x64 build

* instead, only dev compile/clippy lint in ci
2023-06-07 15:48:55 -07:00
Connor Peet
eb44b5ef6c build: don't apply cli 'patches' for merge check (#184210)
* build: don't apply cli 'patches' for merge check

This also needed modules installed. But with the new toml patches, the 'merge' will never fail outright, so there's no need to do a separate merge check for it imo

* reduce duplication in pipelines, cache node_modules
2023-06-02 22:29:48 +02:00
Connor Peet
be433ac136 build: install packages for distro mixin (#184207) 2023-06-02 21:44:18 +02:00
Connor Peet
78643b05d5 cli: bump to openssl 1.1.1u (#183828) 2023-05-30 20:44:56 +02:00
Connor Peet
b547b58db6 cli: use win32 app mutex to detect running tunnels and tunnel sevices (#179622)
* cli: fix distro mixin

* cli: use win32 app mutex to detect running tunnels and tunnel sevices

Fixes #179265

* cli: fix distro mixin more

* fix

* fix build
2023-04-10 20:25:14 +01: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
Connor Peet
1b5fd140fb Run tunnels as singleton process (for a --cli-data-dir) (#177002)
* wip on singleton

* wip

* windows support

* wip

* wip

* fix clippy
2023-03-14 08:09:47 -07:00
Connor Peet
26fe31fc66 update openssl-prebuild for musl failures (#175731)
* update openssl-prebuild for musl failures

* reapply vendoring

* reapply macos pipeline fix
2023-03-01 08:57:45 +01:00
Connor Peet
f8119e9beb Revert "cli: fix static import of openssl (#175681)" (#175727)
This reverts commit 7014a17b1f.
2023-03-01 07:43:32 +01:00
Connor Peet
7014a17b1f cli: fix static import of openssl (#175681)
* cli: fix static import of openssl

* update dev tunnels
2023-02-28 11:20:58 -08:00
Tyler James Leonhardt
31e476ee1e bump @vscode-internal/openssl-prebuilt (#173827)
* bump @vscode-internal/openssl-prebuilt

* bump windows
2023-02-08 08:59:07 -08:00
Connor Peet
63fbcea804 cli: pin rust (and clippy) version for builds 2022-11-07 17:56:35 -08:00
Connor Peet
ed54a91fd0 build: parallelize cli build
Put all win and macOS builds on their own machine, since they take a minute.
Build the two GNU ARM builds together on an x64 machine, since they're
faster and can cross-compile in ~5 minutes.

This makes the CompileCLI step take a little less time than the VS Code
"Compile" step.
2022-10-24 12:01:03 -07:00
Connor Peet
c3692c96f6 build: use npm instead of universal for arm compatibility 2022-10-21 10:21:02 -07:00
Connor Peet
bf36a10c47 cli: use packaged openssl instead of artisanal builds 2022-10-20 17:14:14 -07:00
Connor Peet
ed0a21eda6 Merge remote-tracking branch 'origin/main' into connor4312/msrustup 2022-10-18 14:25:51 -07:00
Connor Peet
24a51e506f try using vcpkg for everything 2022-10-18 10:58:50 -07:00
Connor Peet
7c3740a7e7 update prepare scripts, license, lockfile 2022-10-17 11:50:49 -07:00
Connor Peet
84439a87f6 wip 2022-10-14 15:46:49 -07:00
Connor Peet
dc69e22984 fix build 2022-10-10 15:59:55 -07:00
Connor Peet
191dc770d1 address pr comments 2022-10-10 10:40:01 -07:00
Connor Peet
b401701d87 address pr comments 2022-10-05 11:46:24 -07:00