Skip to content

Commit

Permalink
Enable x86 macos CI
Browse files Browse the repository at this point in the history
  • Loading branch information
q-posev committed Aug 18, 2024
1 parent 7c352b2 commit 4158200
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -130,16 +130,20 @@ 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

- name: install dependencies
run: |
brew install emacs
brew install hdf5
brew install hdf5@1.14
brew install automake
brew install libtool
brew install swig
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4158200

Please sign in to comment.