Skip to content

Commit d6a2ade

Browse files
committed
Polish the workflow
1 parent 425082b commit d6a2ade

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,12 @@ jobs:
3434
- openblas
3535
steps:
3636
- uses: actions/checkout@v4
37-
38-
- name: Export gcc@13 environment variables
39-
run: |
40-
echo "CC=$(brew --prefix gcc@13)/bin/gcc-13" >> $GITHUB_ENV
41-
echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> $GITHUB_ENV
42-
echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> $GITHUB_ENV
43-
44-
- name: Install Rust toolchain
45-
run: rustup toolchain install stable --profile=minimal
46-
47-
- name: Run tests
48-
run: cargo test --features=${{ matrix.feature }}
37+
- run: |
38+
echo "CC=$(brew --prefix gcc@13)/bin/gcc-13" >> "${GITHUB_ENV}"
39+
echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> "${GITHUB_ENV}"
40+
echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> "${GITHUB_ENV}"
41+
- run: rustup toolchain install stable --profile=minimal
42+
- run: cargo test --features=${{ matrix.feature }}
4943

5044
test-ubuntu:
5145
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)