1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-11-03 12:43:55 +01:00

Enable x86 macos CI

This commit is contained in:
q-posev 2024-08-18 09:18:48 +02:00
parent 7c352b20c5
commit 415820028b

View File

@ -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