diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 85b0fbb..08a899a 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -33,7 +33,7 @@ jobs: echo github.ref ${{ github.ref }} trexio_ubuntu: - name: x86 Ubuntu 20.04 + name: x86 Ubuntu runs-on: ubuntu-22.04 needs: get_commit_message @@ -130,8 +130,12 @@ jobs: run: make maintainer-clean trexio_macos: - name: arm64 MacOS - runs-on: macos-14 + name: x86 and arm64 MacOS + strategy: + # macos-13 = x86_64 ; macos-14 = aarch64 + matrix: + os: [macos-13, macos-14] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 @@ -139,7 +143,7 @@ jobs: - name: install dependencies run: | brew install emacs - brew install hdf5 + brew install hdf5@1.14 brew install automake brew install libtool brew install swig @@ -148,7 +152,7 @@ jobs: - name: configure with autotools run: | ./autogen.sh - ./configure FC=gfortran-12 --enable-silent-rules + ./configure CC=gcc-12 FC=gfortran-12 --enable-silent-rules - name: compile TREXIO run: make -j3 @@ -177,7 +181,7 @@ jobs: if: failure() uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 with: - name: test-report-macos + name: test-report-${{ matrix.os }} path: test-suite.log - name: clean