diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 1f10e29..ed08e0f 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -12,20 +12,26 @@ on: [push] #, pull_request] jobs: build_wheels: name: Build wheels on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - include: - - runs-on: macos-12 - compiler: gcc - gcc: 12 strategy: fail-fast: true matrix: + runs-on: ${{ matrix.os }} # os: [ubuntu-latest] #, macos-latest] os: [macos-12] + include: + - runs-on: macos-12 + compiler: gcc + gcc: 12 steps: - uses: actions/checkout@v4 + - name: Select GCC version + if: matrix.gcc + run: | + echo "CC=gcc-${{ matrix.gcc }}" >> $GITHUB_ENV + echo "CXX=g++-${{ matrix.gcc }}" >> $GITHUB_ENV + - name: Setup GNU Fortran uses: fortran-lang/setup-fortran@v1 id: macos-setup-fortran