Skip to content

Commit

Permalink
Polish the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Feb 8, 2025
1 parent 425082b commit d6a2ade
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,12 @@ jobs:
- openblas
steps:
- uses: actions/checkout@v4

- name: Export gcc@13 environment variables
run: |
echo "CC=$(brew --prefix gcc@13)/bin/gcc-13" >> $GITHUB_ENV
echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> $GITHUB_ENV
echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> $GITHUB_ENV
- name: Install Rust toolchain
run: rustup toolchain install stable --profile=minimal

- name: Run tests
run: cargo test --features=${{ matrix.feature }}
- run: |
echo "CC=$(brew --prefix gcc@13)/bin/gcc-13" >> "${GITHUB_ENV}"
echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> "${GITHUB_ENV}"
echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> "${GITHUB_ENV}"
- run: rustup toolchain install stable --profile=minimal
- run: cargo test --features=${{ matrix.feature }}

test-ubuntu:
runs-on: ubuntu-latest
Expand Down

0 comments on commit d6a2ade

Please sign in to comment.