Skip to content

Commit 5a14e19

Browse files
committed
[WIP] Run release on PR builds
1 parent be905c8 commit 5a14e19

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/release.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
branches:
1010
- release
1111
- trigger-nightly
12+
pull_request:
1213

1314
env:
1415
CARGO_INCREMENTAL: 0
@@ -36,7 +37,6 @@ jobs:
3637
- os: windows-latest
3738
target: aarch64-pc-windows-msvc
3839
code-target: win32-arm64
39-
pgo: true
4040
- os: ubuntu-latest
4141
target: x86_64-unknown-linux-gnu
4242
zig_target: x86_64-unknown-linux-gnu.2.28
@@ -189,6 +189,8 @@ jobs:
189189
runs-on: ubuntu-latest
190190
needs: ["dist", "dist-x86_64-unknown-linux-musl"]
191191
steps:
192+
- name: Fail
193+
run: exit 1
192194
- name: Install Nodejs
193195
uses: actions/setup-node@v4
194196
with:

xtask/src/dist.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ fn gather_pgo_profile<'a>(
180180
let train_crate = ".";
181181
cmd!(
182182
sh,
183-
"target/{target}/release/rust-analyzer analysis-stats {train_crate} --run-all-ide-things"
183+
"target/{target}/release/rust-analyzer analysis-stats {train_crate}"
184184
)
185185
// analysis-stats produces an enormous amount of output on stdout
186186
.ignore_stdout()

0 commit comments

Comments
 (0)