mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
YJIT: Remove cargo from release builds
* Release builds depend only on `rustc` for sake of packaging. Removing it from the image ensures that passing the CI implies that only `rustc` is required.
This commit is contained in:
parent
4131ace07a
commit
30f85ce530
6
.github/workflows/yjit-ubuntu.yml
vendored
6
.github/workflows/yjit-ubuntu.yml
vendored
@ -145,6 +145,12 @@ jobs:
|
||||
if: ${{ matrix.rust_version }}
|
||||
run: rustup install ${{ matrix.rust_version }} --profile minimal
|
||||
|
||||
- name: Remove cargo
|
||||
# Since this tests a `rustc` build for release, remove `cargo` to ensure
|
||||
# that only `rustc` is used.
|
||||
if: ${{ contains(matrix.configure, 'rustc') }}
|
||||
run: sudo rm $(which -a cargo | uniq)
|
||||
|
||||
- name: Run configure
|
||||
run: ../src/configure -C --disable-install-doc --prefix=$(pwd)/install ${{ matrix.configure }}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user