Skip to content

Commit 2606a2c

Browse files
committed
move commit hash to the matrix
1 parent a3fb043 commit 2606a2c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/enzyme-rust.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: [linux-x86-n2-32]
21+
commit: [51ff895062ba60a7cba53f57af928c3fb7b0f2f4]
2122

2223
timeout-minutes: 90
2324

@@ -42,7 +43,7 @@ jobs:
4243
. ~/.cargo/env
4344
git clone https://github.com/rust-lang/rust.git
4445
cd rust
45-
git checkout 51ff895062ba60a7cba53f57af928c3fb7b0f2f4
46+
git checkout ${{ matrix.commit }}
4647
./configure \
4748
--enable-llvm-link-shared \
4849
--enable-llvm-plugins \
@@ -59,9 +60,9 @@ jobs:
5960
with:
6061
path: |
6162
rust/build
62-
key: rust-51ff8950-${{ matrix.os }}
63+
key: rust-${{ matrix.commit }}-${{ matrix.os }}
6364
restore-keys: |
64-
rust-51ff8950-
65+
rust-${{ matrix.commit }}-
6566
- name: Build Rust compiler stage 1
6667
working-directory: rust
6768
run: |

0 commit comments

Comments
 (0)