Skip to content

Commit 3f206e9

Browse files
committed
Polish the workflow
1 parent 7c7fcdb commit 3f206e9

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
@@ -35,18 +35,12 @@ jobs:
3535
- openblas
3636
steps:
3737
- uses: actions/checkout@v4
38-
39-
- name: Export gcc@13 environment variables
40-
run: |
41-
echo "CC=$(brew --prefix gcc@13)/bin/gcc-13" >> $GITHUB_ENV
42-
echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> $GITHUB_ENV
43-
echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> $GITHUB_ENV
44-
45-
- name: Install Rust toolchain
46-
run: rustup toolchain install stable --profile=minimal
47-
48-
- name: Run tests
49-
run: cargo test --features=${{ matrix.feature }}
38+
- run: |
39+
echo "CC=$(brew --prefix gcc@13)/bin/gcc-13" >> "${GITHUB_ENV}"
40+
echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> "${GITHUB_ENV}"
41+
echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> "${GITHUB_ENV}"
42+
- run: rustup toolchain install stable --profile=minimal
43+
- run: cargo test --features=${{ matrix.feature }}
5044

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

0 commit comments

Comments
 (0)