Commit Graph

48 Commits

Author SHA1 Message Date
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
veetaha
e1e41c8b32 cicd: revive npm audit 2020-03-18 23:15:48 +02: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
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
CAD97
cf140ac995 Use actions/checkout@v2 2020-03-06 20:32:03 -05:00
Aleksey Kladov
1e305b89ed Remove needless dep 2020-03-04 18:05:29 +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
d71ddeaced Gate stuff on CI 2020-02-18 01:05:52 +01:00
Aleksey Kladov
b982d60a4d Don't fail fast on CI 2020-01-22 11:53:47 +01:00
Aleksey Kladov
7d4a62275d Don't be overly generic 2020-01-11 21:38:15 +01: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