Skip to content

Commit

Permalink
Auto merge of #15523 - lnicola:bootstrap, r=lnicola
Browse files Browse the repository at this point in the history
internal: Fix release workflow
  • Loading branch information
bors committed Aug 28, 2023
2 parents 029baaa + a6f5356 commit 144526c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Expand Up @@ -98,7 +98,9 @@ jobs:

- name: Run analysis-stats on rust std library
if: matrix.os == 'ubuntu-latest'
run: RUSTC_BOOTSTRAP=1 target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
env:
RUSTC_BOOTSTRAP: 1
run: target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std

# Weird targets to catch non-portable code
rust-cross:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Expand Up @@ -128,6 +128,8 @@ jobs:

- name: Run analysis-stats on rust std library
if: matrix.target == 'x86_64-unknown-linux-gnu'
env:
RUSTC_BOOTSTRAP: 1
run: target/${{ matrix.target }}/release/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std

- name: Upload artifacts
Expand Down

0 comments on commit 144526c

Please sign in to comment.