Commit Graph

238 Commits

Author SHA1 Message Date
Aleksey Kladov
895872f076 Tag release branch rather than master 2020-10-19 18:28:59 +02:00
Jonas Schievink
1cb64a70d6 Add comment and link to upstream issue 2020-10-12 19:55:55 +02:00
Jonas Schievink
f8be6c636c macOS: install GNU tar 2020-10-12 19:51:49 +02:00
Aleksey Kladov
dddd580651 "How I survived Git" tips 2020-09-01 09:50:48 +02:00
dragfire
cdebf02e54 Add a test that forbids merge commits 2020-08-31 12:29:07 -06:00
Pavan Kumar Sunkara
79337095c1
Don't publish every day and do it only for release 2020-08-31 17:35:26 +02:00
Pavan Kumar Sunkara
6d46583f0f Correct sed replacement when called in a bash file 2020-08-25 14:43:22 +02:00
Pavan Kumar Sunkara
2d75b3305d Rename rust_analyzer lib in the binaries before publishing 2020-08-25 11:32:22 +02:00
Pavan Kumar Sunkara
35fd9a8e0b Added weekly publish workflow 2020-08-24 13:07:17 +02:00
Aleksey Kladov
3543432c9b Add GH Sposors to FUNDING.yml 2020-08-18 18:59:12 +02:00
Aleksey Kladov
90cb4bbbb9 Remove usless pre-cache task
We are not cleaning the rest of xtask artifacts, so this effectively
does nothing. xtask is small and changes rarely, so this shouldn't
really matter.
2020-08-18 11:19:44 +02:00
Aleksey Kladov
80ab6c8cd5 Re-enable mac build 2020-08-18 09:38:32 +02:00
Aleksey Kladov
982b299252 Temporary disable MacOS builder
GH Actions is not feeling great today :-(
2020-08-13 10:57:09 +02:00
Aleksey Kladov
e30be7ad15 Disabe macros TypeSCript builder
It hangs for some reason, and we are moving TS extension anyways...
2020-08-13 10:35:11 +02:00
Aleksey Kladov
5534bc0321 Completely remove cargo audit
My current feeling is that the build maintenance friction it creates
is not proportional to the benefits it provides.

We are pretty frugal with the set of Rust dependencies, and our
security model is "we run build.rs and proc macros", so it doesn't
seem like cargo audit could help us much.
2020-08-12 15:54:39 +02:00
Jonas Schievink
67b2b3d0ce Fix build on musl and test it in CI 2020-08-12 12:23:25 +02:00
Veetaha
3d6fc649f2 Remove the premissions-misconifguration bug workarounds on CI 2020-07-29 23:58:47 +03:00
Aleksey Kladov
c0b2b15123 Fix metrics 2020-07-24 20:53:27 +02:00
Aleksey Kladov
ae3506d002 Fix another name 2020-07-24 20:34:30 +02:00
Aleksey Kladov
80d6bdbb30 fix name 2020-07-24 20:21:18 +02:00
Aleksey Kladov
de714640bd Add metrics 2020-07-24 20:05:16 +02:00
Aleksey Kladov
c3ce89145d Disable audit step
See https://github.com/actions-rs/install/issues/6
2020-07-16 10:15:13 +02:00
Yuki Okushi
9a93249cd1
Update actions/cache to v2 2020-07-14 20:16:13 +09:00
Aleksey Kladov
9c1f3aad62 Check power on CI 2020-07-14 11:01:18 +02:00
Aleksey Kladov
2752f2dccf check cargo.lock 2020-07-07 16:01:05 +02:00
Aleksey Kladov
4310e0ebf9 Disable npm audit
At the moment it fails with unfixable minor vuln in a dev-dependency
2020-07-02 10:50:50 +02:00
Aleksey Kladov
3c2c8d7e5f Fix conflict between nightly branch and tag 2020-05-25 16:31:19 +02:00
Aleksey Kladov
5e66045a21 Try fixing release tags
closes #4319
2020-05-25 16:26:01 +02:00
vsrs
1797b665a4
vscode tests configuration for more verbose output 2020-05-23 17:07:25 +03:00
vsrs
e3223a7fd3
OS matrix for TypeScript 2020-05-23 16:39:30 +03:00
vsrs
a09b308b4e
xvfb-action fix 2020-05-23 16:24:21 +03:00
vsrs
12ea4a2ba2
Try GabrielBB/xvfb to run vscode tests 2020-05-23 16:13:47 +03:00
vsrs
bddbe16d93
Start xvfb manually on ubuntu 2020-05-23 16:04:14 +03:00
vsrs
ca230627c6
try to run TypeScript CI on windows 2020-05-23 15:37:07 +03:00
vsrs
1739a542f8 Add npm test to CI 2020-05-23 15:20:46 +03:00
Aleksey Kladov
b79122b242 Use older ubuntu for releases 2020-05-11 21:32:48 +02:00
Laurențiu Nicola
77de40192e Use x86_64-unknown-linux-gnu for releases 2020-04-28 20:47:13 +03:00
Laurențiu Nicola
ebf77c2bf7 Use actions-rs/install and /audit-check for cargo-audit 2020-04-11 14:32:53 +03:00
Aleksey Kladov
ffb7ea678b Don't strip nightly releases 2020-04-08 11:47:40 +02:00
Aleksey Kladov
9c482f4a21 Fix yaml 2020-04-07 09:40:01 +02:00
Aleksey Kladov
942836ac33 Fix yaml 2020-04-07 09:24:10 +02:00
Aleksey Kladov
d3ccc80a2d Run analysis-stats nightly 2020-04-07 09:01:16 +02:00
Aleksey Kladov
1b2d255be1 More general CI env var 2020-04-06 17:02:06 +02:00
Edwin Cheng
53058dd73a Add back deny_c 2020-04-05 21:45:57 +08:00
Edwin Cheng
3277079412 Remove deny_c in CI 2020-04-03 18:11:28 +08:00
Aleksey Kladov
700ac8159a Enable backtrace on CI 2020-03-30 10:49:11 +02:00
Aleksey Kladov
ee6fc4eca2 Don't deny C for cargo audit
It depends on openssl ;-(
2020-03-26 16:33:03 +01:00
Aleksey Kladov
ef6a0417f4 Specify env once for all jobs 2020-03-26 10:31:51 +01:00
Aleksey Kladov
aaa6961aa6 fix release more 2020-03-23 15:08:05 +01:00
Aleksey Kladov
f0a5fe8699 fix release more 2020-03-23 14:50:02 +01:00
Aleksey Kladov
59f6bf87d6 Fix release 2020-03-23 14:33:44 +01:00
Aleksey Kladov
ee4fe18ac8 Don't trigger stable release when pushing to nightly branch 2020-03-19 09:48:36 +01:00
Aleksey Kladov
3d1cb5e20f Simplify extension tag sniffing 2020-03-19 09:37:03 +01:00
veetaha
e1e41c8b32 cicd: revive npm audit 2020-03-18 23:15:48 +02:00
Aleksey Kladov
a8ddea8d1c Don't filter release by fork
This syntax does not work for some reason

https://github.com/rust-analyzer/rust-analyzer/runs/515231288?check_suite_focus=true
2020-03-18 09:43:49 +01:00
Aleksey Kladov
46c618f7d9 Disable npm audit, as it blocks unrelated PR without a way to fix
https://github.com/rust-analyzer/rust-analyzer/pull/3582#issuecomment-600107117
2020-03-17 15:43:14 +01:00
Aleksey Kladov
96f19c3af9
Merge pull request #3613 from bjorn3/patch-1
Fix cargo registry caching for builds
2020-03-17 11:14:25 +01:00
Aleksey Kladov
a350dff4cf
Update .github/workflows/release.yaml
Co-Authored-By: Florian Diebold <flodiebold@googlemail.com>
2020-03-17 09:41:27 +01:00
Swarnim Arun
a9300934f9
Gate release action to rust-analyzer owner 2020-03-17 03:09:02 +05:30
bjorn3
c98fa45d05
Fix cargo registry caching for builds 2020-03-16 18:46:33 +01:00
Aleksey Kladov
589100ad44 Fix audit caching better 2020-03-16 18:26:33 +01:00
Aleksey Kladov
a69118edd5 Fix cargo audit caching
See
https://github.com/actions/cache/issues/133#issuecomment-599102035
for chown bit
2020-03-16 18:17:53 +01:00
Aleksey Kladov
78879851bb Actually make npm audit more robust
In bash, && and || have the same priority.
2020-03-16 18:05:01 +01:00
Aleksey Kladov
baf10c3f16 Cache cargo-audit on CI
closes #3399
2020-03-16 17:57:07 +01:00
Aleksey Kladov
ca99023185 Retry rust audit as well
https://github.com/rust-analyzer/rust-analyzer/runs/511553989?check_suite_focus=true#step:3:6
2020-03-16 17:35:52 +01:00
Aleksey Kladov
1aa5d5dc21 Make audit more reliable
I've seen this transient error a couple of times:

https://github.com/rust-analyzer/rust-analyzer/runs/511162809?check_suite_focus=true#step:5:8
2020-03-16 15:13:38 +01:00
Aleksey Kladov
bf3eef8897 Set extension version during release 2020-03-09 14:24:00 +01:00
Aleksey Kladov
cb63932690 Install Node only for Linux
Hopefully, this will lead to fewer errors like

https://github.com/rust-analyzer/rust-analyzer/runs/493983317?check_suite_focus=true#step:5:10
2020-03-09 10:06:17 +01:00
CAD97
cf140ac995 Use actions/checkout@v2 2020-03-06 20:32:03 -05:00
Aleksey Kladov
ab11c6f08a Back to usual nightly schedule 2020-03-05 13:41:41 +01:00
Aleksey Kladov
94c48980bb Set release name 2020-03-05 12:22:14 +01:00
Aleksey Kladov
e15cef70db Try testing release workflow 2020-03-05 10:45:40 +01:00
Aleksey Kladov
5f1fc94523 minor 2020-03-05 10:43:32 +01:00
Aleksey Kladov
41ba0cef46 Fix nightly release 2020-03-05 10:29:43 +01:00
Aleksey Kladov
be814a65a3 Install node for release 2020-03-04 20:04:10 +01:00
Aleksey Kladov
ce663ed495
Merge pull request #3461 from matklad/dist
Use xtask dist for releases
2020-03-04 18:59:06 +01:00
Aleksey Kladov
f1a0e16ecf Fix rustdoc some more 2020-03-04 18:58:33 +01:00
Aleksey Kladov
6647e817e2 Use xtask dist for releases 2020-03-04 18:56:52 +01:00
Aleksey Kladov
f8dadf896c Fix yaml syntax 2020-03-04 18:55:23 +01:00
Aleksey Kladov
558608548f Hopefully fix YAML syntax 2020-03-04 18:45:56 +01:00
Aleksey Kladov
fd586e58d9 cargo xtask dist
This builds the typescript extension
2020-03-04 18:18:20 +01:00
Aleksey Kladov
e5aed5c593 Update rustdoc action 2020-03-04 18:09:10 +01:00
Aleksey Kladov
1e305b89ed Remove needless dep 2020-03-04 18:05:29 +01:00
Aleksey Kladov
86ec5b3917 Nightly binary releases
This doesn't publish nightly plugin to the marketplace yet
2020-03-04 17:18:37 +01:00
Aleksey Kladov
ff17b0ba48 Deindent YAML 2020-03-04 17:01:38 +01:00
Christopher Durham
e070553cef Clean xtask partial artifacts in xtask pre-cache 2020-03-02 23:50:10 -05:00
Aleksey Kladov
356395139c Actually gate CI on eslint 2020-02-27 10:40:53 +01:00
Aleksey Kladov
cfc6abed9d
Merge pull request #3330 from Veetaha/feature/cargo-audit
cicd: add cargo audit
2020-02-26 22:00:30 +01:00
Veetaha
23907b5d4c cicd: add cargo audit 2020-02-26 22:28:23 +02:00
Veetaha
4291b61810 vscode: added audit at ci 2020-02-26 22:01:09 +02:00
Aleksey Kladov
5e1d0e4ae4 Check that we use no C deps on CI
C deps are not a problem for a typical build, but cause issues in more
esoteric scenarios, like cross-compiling. Let's check that we don't
have them.

Setting `CC` to some dummy value should do the trick, as custom build
scripts typically respect this variable.
2020-02-19 22:24:29 +01:00
Aleksey Kladov
c0fa5e2246 Rename the binary to rust-analyzer 2020-02-18 12:33:16 +01:00
Aleksey Kladov
d71ddeaced Gate stuff on CI 2020-02-18 01:05:52 +01:00
Aleksey Kladov
94fb9ad6b3 Fix extension name 2020-02-17 15:35:06 +01:00
Aleksey Kladov
13d793929a Fix release process once more 2020-02-17 15:13:06 +01:00
Aleksey Kladov
8c51ebec45 Fix release process 2020-02-17 14:55:36 +01:00
Veetaha
7ff274470e cicd: simplify vsce call 2020-02-16 01:40:07 +02:00
Aleksey Kladov
3c98681d4e Third time's a charm? 2020-02-11 11:44:29 +01:00
Aleksey Kladov
a0b065a296 Fix release 2020-02-11 11:23:04 +01:00
Aleksey Kladov
27ddb127db Publish VS Code extension automatically 2020-02-11 10:55:44 +01:00
Aleksey Kladov
5b703bdc58 eamcs is now upstreamed 2020-02-10 15:55:21 +01:00
Aleksey Kladov
f4fd91a7fe Make sure release uses the release branch, and not master 2020-01-29 13:19:51 +01:00
Aleksey Kladov
b982d60a4d Don't fail fast on CI 2020-01-22 11:53:47 +01:00
Aleksey Kladov
a30129be5a build with clang? 2020-01-13 15:20:09 +01:00
Aleksey Kladov
ab6e992c87 musl 2020-01-13 14:53:09 +01:00
Aleksey Kladov
5514ca3997 🎁 GitHub releases 🎁 2020-01-13 14:47:03 +01:00
Aleksey Kladov
7e1a25f149 Tweak release workflow 2020-01-11 21:50:32 +01:00
Aleksey Kladov
7d4a62275d Don't be overly generic 2020-01-11 21:38:15 +01:00
Giles Cope
2187732fb5 We only want this triggering for master. 2020-01-09 22:13:50 +00:00
Giles Cope
42942fc662 Reducing binary size and optimising a bit more. 2020-01-09 22:11:25 +00:00
Giles Cope
f1920d7b54 Still double compiling. Try this. 2020-01-09 21:11:52 +00:00
Giles Cope
477668fc22 Was doing the compile twice. 2020-01-09 20:38:26 +00:00
Giles Cope
973aa054ee Split out into a release build as bins were not getting generated as cargo build wasn't run 2020-01-09 20:21:07 +00:00
Giles Cope
45b0e7ad7d second attempt 2020-01-09 19:45:26 +00:00
Giles Cope
3422bf1d29 parameterised debug 2020-01-09 19:36:12 +00:00
Giles Cope
f562a1fc9f Packaging server bins 2020-01-09 19:21:08 +00:00
Giles Cope
6fecdd3ccf create dir if not there as cp doesn't seem to have an option to create the dest dir automatically. 2020-01-09 13:35:54 +00:00
Giles Cope
5d43ce12c3 put as debug for now while I get it working. 2020-01-09 13:24:20 +00:00
Giles Cope
cbd0baf20b Getting to grips with github format... 2020-01-09 13:18:16 +00:00
Giles Cope
dd5e1b652f Less output for typescript artifacts 2020-01-09 08:56:42 +00:00
Giles Cope
f9049d35a2 Relative adderss 2020-01-08 12:36:02 +00:00
Giles Cope
79e1cb9b59 Upload 2020-01-08 12:31:05 +00:00
Giles Cope
dd998d9076 noop 2020-01-08 12:19:27 +00:00
Giles Cope
22a0c9a838 Make artifacts accessible 2020-01-08 12:19:27 +00:00
Aleksey Kladov
817df4571f More tenacious CI networking 2020-01-07 17:52:45 +01:00
Aleksey Kladov
ca2a9b50c0 Try to restore caching on CI 2020-01-07 17:36:56 +01:00
Aleksey Kladov
6a7db8c701 Share cache cleaning logic between OSes 2020-01-07 16:45:57 +01:00
Emil Lauridsen
e997749a9c Rename old toolchains on windows to speedup installation 2020-01-03 21:42:17 +01:00
Emil Lauridsen
89a11eb811 Remove rust-docs on Windows before updating to latest stable 2020-01-03 20:42:27 +01:00
Emil Lauridsen
0f912c72cc Blindfolded PowerShell coding 2020-01-03 19:37:13 +01:00
Emil Lauridsen
d1848a11a2 Run tests on ubuntu, windows and macos 2020-01-03 19:37:13 +01:00
Aleksey Kladov
1f8719ee87 Minimize typescript CI 2019-12-30 11:33:01 +01:00
Aleksey Kladov
8ec5f2fcdc Skip slow tests by default 2019-12-07 13:19:42 +01:00
Aleksey Kladov
c3e61d7e8e Run CI on trying as well 2019-11-19 11:24:18 +03:00
Aleksey Kladov
34025020b5 Switch to Actions 2019-11-18 12:35:03 +03:00
cad97
396853defb Run npm travis through xvfb-run 2019-11-18 11:07:47 +03:00
cad97
ec5cde9149 Enable github actions ci 2019-11-18 11:07:47 +03:00
Aleksey Kladov
219e0e8c8d
Create FUNDING.yml 2019-07-06 08:33:19 +03:00