Laurențiu Nicola
4e034d78de
Set RUSTC_BOOTSTRAP=1 when running analysis-stats on libstd
2023-08-25 18:03:55 +03:00
Laurențiu Nicola
b4576b52b7
Run analysis-stats on stable
2023-08-22 09:26:04 +03:00
Laurențiu Nicola
0155385b57
Merge commit '99718d0c8bc5aadd993acdcabc1778fc7b5cc572' into sync-from-ra
2023-07-24 12:21:34 +03:00
Laurențiu Nicola
4704881b64
Merge commit '37f84c101bca43b11027f30ab0c2852f9325bc3d' into sync-from-ra
2023-07-17 16:49:15 +03:00
Laurențiu Nicola
9326cf7f0c
Merge commit 'cd3bf9fe51676b520c546460e6d8919b8c8ff99f' into sync-from-ra
2023-06-19 09:14:04 +03:00
Laurențiu Nicola
c48062fe2a
Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra
2023-06-05 12:04:23 +03:00
Laurențiu Nicola
bc45c7659a
⬆️ rust-analyzer
2023-02-13 13:55:14 +02:00
Laurențiu Nicola
79923c382a
⬆️ rust-analyzer
2022-11-09 21:49:10 +02:00
Laurențiu Nicola
8807fc4cc3
⬆️ rust-analyzer
2022-10-26 17:40:41 +03:00
Laurențiu Nicola
a99a48e786
⬆️ rust-analyzer
2022-10-18 09:12:49 +03:00
Laurențiu Nicola
459bbb4222
⬆️ rust-analyzer
2022-09-13 15:38:11 +03:00
Laurențiu Nicola
65e1dc4d9c
⬆️ rust-analyzer
2022-09-06 21:20:49 +03:00
Laurențiu Nicola
31519bb394
⬆️ rust-analyzer
2022-08-23 10:05:52 +03:00
Laurențiu Nicola
8231fee466
⬆️ rust-analyzer
2022-08-16 11:24:50 +03:00
Laurențiu Nicola
22c8c9c401
⬆️ rust-analyzer
2022-08-09 07:23:57 +03:00
Laurențiu Nicola
9d2cb42a41
⬆️ rust-analyzer
2022-08-02 09:05:16 +03:00
Aleksey Kladov
c205c629ef
try fixing spurious CI failures on windows
...
It seems like it may be related to self-update? Anyways, I think we
should be disabling self-update on CI
2022-07-16 11:42:28 +01:00
Aleksey Kladov
b49f2a2b43
Remove deprecate action
...
https://old.reddit.com/r/rust/comments/vyx4oj/actionsrs_organization_became_unmaintained/
Looking at this holistically, I don't fully understand *why* we need an
action here? Seems like we can just use rustup? nowadays github runners
come with rustup pre-installed.
2022-07-15 23:04:09 +01:00
Aleksey Kladov
248fa55fc7
Update .github/workflows/release.yaml
...
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
2022-07-15 23:04:09 +01:00
Aleksey Kladov
f4fe2ea227
Remove deprecate action
...
https://old.reddit.com/r/rust/comments/vyx4oj/actionsrs_organization_became_unmaintained/
Looking at this holistically, I don't fully understand *why* we need an
action here? Seems like we can just use rustup? nowadays github runners
come with rustup pre-installed.
2022-07-15 23:04:09 +01:00
David Lattimore
f0af913ab0
publish workflow: Fix names for existing crates
...
Attempting to publish for example ra_ap_text-edit when ra_ap_text_edit
has already been published is rejected by crates.io.
2022-07-08 12:58:13 +10:00
Laurențiu Nicola
21642a2d85
Try to publish releases to OpenVSX
2022-06-23 22:18:08 +03:00
bors
81805d4cfc
Auto merge of #12366 - rust-lang:revert-12349-universal-vsix, r=lnicola
...
Revert "internal: Publish universal VSIX to make VS happy"
Reverts rust-lang/rust-analyzer#12349
2022-05-23 20:55:29 +00:00
Laurențiu Nicola
0ab4a5f90b
Revert "internal: Publish universal VSIX to make VS happy"
2022-05-23 23:45:46 +03:00
Laurențiu Nicola
04587b4b1a
Revert "internal: Try to publish the universal VSIX before the other ones"
2022-05-23 23:44:08 +03:00
Laurențiu Nicola
abc541e496
Try to publish the universal VSIX before the other ones
2022-05-23 18:11:17 +03:00
Laurențiu Nicola
f50afe1b39
Publish universal VSIX to make VS happy
2022-05-22 21:13:14 +03:00
David Tolnay
5bea4ba224
Update GitHub Actions actions/checkout@v2 to v3
...
The v2 implementation uses Node 12, which is end-of-life on April 30, 2022.
See https://nodejs.org/en/about/releases/ . Update to v3, which is based on
Node 16 whose support lasts until April 30, 2024.
2022-04-30 13:56:03 -07:00
Lukas Wirth
baaf18b1e1
minor: Don't run CI on master branch
2022-04-14 00:42:51 +02:00
Deadbeef
8b60bf6764
Update CI for Rust bors
2022-04-13 16:55:10 +02:00
Lukas Wirth
be34896433
minor: prepare CI for rust-lang move
2022-04-13 12:26:24 +02:00
Laurențiu Nicola
f60d300300
Build release binaries on Ubuntu 18.04
2022-03-01 07:24:27 +02:00
Laurențiu Nicola
45d2262963
Gate workflows to only run on upstream
2021-12-22 21:31:22 +02:00
Laurențiu Nicola
bcf5f407fb
Improve github-release action
2021-12-22 21:30:56 +02:00
Laurențiu Nicola
187c273585
Actually nightly releases to Matketplace
2021-12-22 07:44:04 +02:00
Laurențiu Nicola
2d9c14afb5
Build and publish pre-release Code extension versions
2021-12-20 20:58:09 +02:00
Laurențiu Nicola
9c74f646f4
Publish platform-specific Code VSIXes
2021-12-18 22:49:11 +02:00
Laurențiu Nicola
ff6081e629
Set MACOSX_DEPLOYMENT_TARGET to 10.15 to improve compat
2021-12-16 08:02:09 +02:00
Laurențiu Nicola
f694d7fa65
Refactor release workflow
2021-12-15 23:32:05 +02:00
Laurențiu Nicola
c6a8cc1cee
Really switch XCode version
2021-12-15 14:44:45 +02:00
Laurențiu Nicola
ebaf7d39de
Enable workflow_dispatch for release workflow
2021-12-15 13:54:18 +02:00
Laurențiu Nicola
d5de3b25d7
Use default XCode version
2021-12-15 13:36:36 +02:00
Laurențiu Nicola
e4e984325b
Bump Node to 14 in release workflow
2021-12-04 12:45:08 +02:00
Laurențiu Nicola
b91003222b
Bump to Node 14
2021-12-01 13:12:32 +02:00
Laurențiu Nicola
5b7ffad924
Use xvfb-run directly
2021-12-01 13:12:32 +02:00
Laurențiu Nicola
df4d55bdea
Bump xvfb-action to fix Code tests
2021-12-01 12:52:24 +02:00
Chayim Refael Friedman
36bdb5c94d
Type-check TS on CI and also turn off the strict setting useUnknownInCatchVariables
...
We don't follow it and I found that turning it on will have little benefit.
2021-11-04 01:23:45 +02:00
Aleksey Kladov
045be6545f
minor: group -gnu builders together
2021-10-31 13:16:36 +03:00
Aleksey Kladov
a4b40e60cb
feat: upgrade ubuntu builders
...
For `-gnu` triples, use 20.04, the current LTS. This upgrades the
required version of glibc. For musl, just use `latest` as, presumably,
we don't care about glibc version in that case.
2021-10-31 13:16:36 +03:00
Laurențiu Nicola
d6c162e40f
Run apt-get update for AArch64 builds
2021-10-31 10:49:43 +02:00
Laurențiu Nicola
878dd9d3ad
Use Ubuntu 18.04 on CI
2021-08-30 09:50:41 +03:00
Aleksey Kladov
1850849325
internal: prep to 2021 edition
2021-08-20 16:20:18 +03:00
Aleksey Kladov
ab6efb32a3
internal: easier to skim CI logs
2021-07-20 15:55:44 +03:00
Florian Diebold
c61fee6d55
Fix compilation on WASM
...
Fixes #9214 .
Fixes #9210 .
2021-06-22 22:01:06 +02:00
bors[bot]
242fa3c15b
Merge #8427
...
8427: Move CI to rust-cache Action r=matklad a=Swatinem
This is humbling. I actually took inspiration from RAs pre-cache xtask when developing my action ;-)
Closes #7731
Co-authored-by: Arpad Borsos <swatinem@swatinem.de>
2021-05-03 13:37:12 +00: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
Aleksey Kladov
e012efca27
Let's try testing for "is not quadratic" condition
2021-04-10 12:43:07 +03:00
Arpad Borsos
3ce59b93e6
pin cache action
2021-04-08 20:44:44 +02:00
Arpad Borsos
9c022e3013
Move CI to rust-cache Action
2021-04-08 18:55:28 +02: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
Florian Diebold
8c196056d5
Remove pinned Rust version again
2021-02-12 16:31:16 +01:00
Jonas Schievink
70f388cedb
Pin Rust to 1.49.0 on CI
2021-02-12 13:05:56 +01: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
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
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