File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,21 @@ jobs:
3535 - openblas
3636 steps :
3737 - uses : actions/checkout@v4
38- - run : brew install gcc@13
39- - run : rustup toolchain install stable --profile=minimal
40- - run : cargo test --features=${{ matrix.feature }}
41- env :
42- CC : " $(brew --prefix gcc@13)/bin/gcc-13"
43- FC : " $(brew --prefix gcc@13)/bin/gfortran-13"
44- LIBRARY_PATH : " $(brew --prefix gcc@13)/lib/gcc/13"
38+
39+ - name : Install gcc@13 via Homebrew
40+ run : brew install gcc@13
41+
42+ - name : Export gcc@13 environment variables
43+ run : |
44+ echo "CC=$(brew --prefix gcc@13)/bin/gcc-13" >> $GITHUB_ENV
45+ echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> $GITHUB_ENV
46+ echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> $GITHUB_ENV
47+
48+ - name : Install Rust toolchain
49+ run : rustup toolchain install stable --profile=minimal
50+
51+ - name : Run tests
52+ run : cargo test --features=${{ matrix.feature }}
4553
4654 test-ubuntu :
4755 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments