Commit Graph

121 Commits

Author SHA1 Message Date
Laurențiu Nicola
878dd9d3ad Use Ubuntu 18.04 on CI 2021-08-30 09:50:41 +03:00
Kirill Bulatov
c24bdab97e Use -u instead of --utc date flag 2021-04-26 17:12:13 +03:00
Aleksey Kladov
869ec5f97a fix: dont' misundentify nightly as stable in --version on Mac&Win
We used to set `--nightly` in CI, and only for linux. Let's detect this
in xtask instead.
2021-04-26 15:17:02 +03:00
Laurențiu Nicola
27bfb1fa5c Make a full clone in release.yaml 2021-03-25 12:17:48 +02:00
Laurențiu Nicola
76bb56aeb6
Revert "Temporarily run git describe on CI to debug #8043" 2021-03-21 10:21:29 +02:00
Laurențiu Nicola
14929e6409 Temporarily run git describe to debug #8043 2021-03-20 19:12:19 +02:00
Laurențiu Nicola
b51dfe3e82 Increase fetch-depth to make git describe work 2021-03-16 09:49:32 +02:00
andylizi
726f9e3163
Build dist-x86_64-unknown-linux-musl releases 2021-02-13 18:45:07 +08:00
Laurențiu Nicola
ac0b079492 Force XCode version 2021-01-28 11:53:25 +02:00
Thiébaud Weksteen
9a68c7f6c7 Add step to run analysis-stats on std 2021-01-21 15:37:10 +01:00
Laurențiu Nicola
884f758f7b Build dist-aarch64-unknown-linux-gnu releases 2021-01-17 16:31:38 +02:00
Laurențiu Nicola
2ad0efa8ab Use macos-latest for aarch64-apple-darwin releases 2021-01-05 11:15:12 +02:00
Laurențiu Nicola
039bdddf61 Fix x86_64-pc-windows-msvc artifact name 2021-01-04 17:02:17 +02:00
Laurențiu Nicola
fd67d25be1 Build aarch64-pc-windows-msvc releases 2021-01-04 12:31:55 +02:00
Laurențiu Nicola
407a4f1120 Use stable instead of beta on macos-11 release runner 2021-01-01 09:44:01 +02:00
Laurențiu Nicola
2707dc384d Set RA_TARGET at job level 2020-12-23 10:13:19 +02:00
Laurențiu Nicola
25a987703c Don't release uncompressed binaries under the new naming scheme 2020-12-23 08:46:38 +02:00
Laurențiu Nicola
e881815115 Build aarch64-apple-darwin binaries on CI 2020-12-22 13:18:00 +02:00
Aleksey Kladov
ba8d6d1e4e Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
Aleksey Kladov
b610118453 Deny unreachable-pub
It's very useful when `pub` is equivalent to "this is crate's public
API", let's enforce this!

Ideally, we should enforce it for local `cargo test`, and only during
CI, but that needs https://github.com/rust-lang/cargo/issues/5034.
2020-11-02 14:07:08 +01:00
Aleksey Kladov
53a7651673 Fix deprecation warning
See https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-10-19 19:05:55 +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
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
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
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
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
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
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
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
6647e817e2 Use xtask dist for releases 2020-03-04 18:56:52 +01:00
Aleksey Kladov
fd586e58d9 cargo xtask dist
This builds the typescript extension
2020-03-04 18:18:20 +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
Aleksey Kladov
c0fa5e2246 Rename the binary to rust-analyzer 2020-02-18 12:33:16 +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
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