mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-03 10:06:01 +01:00
Enable x86 macos CI
This commit is contained in:
parent
7c352b20c5
commit
415820028b
16
.github/workflows/actions.yml
vendored
16
.github/workflows/actions.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
|||||||
echo github.ref ${{ github.ref }}
|
echo github.ref ${{ github.ref }}
|
||||||
|
|
||||||
trexio_ubuntu:
|
trexio_ubuntu:
|
||||||
name: x86 Ubuntu 20.04
|
name: x86 Ubuntu
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: get_commit_message
|
needs: get_commit_message
|
||||||
|
|
||||||
@ -130,8 +130,12 @@ jobs:
|
|||||||
run: make maintainer-clean
|
run: make maintainer-clean
|
||||||
|
|
||||||
trexio_macos:
|
trexio_macos:
|
||||||
name: arm64 MacOS
|
name: x86 and arm64 MacOS
|
||||||
runs-on: macos-14
|
strategy:
|
||||||
|
# macos-13 = x86_64 ; macos-14 = aarch64
|
||||||
|
matrix:
|
||||||
|
os: [macos-13, macos-14]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791
|
- uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791
|
||||||
@ -139,7 +143,7 @@ jobs:
|
|||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
brew install emacs
|
brew install emacs
|
||||||
brew install hdf5
|
brew install hdf5@1.14
|
||||||
brew install automake
|
brew install automake
|
||||||
brew install libtool
|
brew install libtool
|
||||||
brew install swig
|
brew install swig
|
||||||
@ -148,7 +152,7 @@ jobs:
|
|||||||
- name: configure with autotools
|
- name: configure with autotools
|
||||||
run: |
|
run: |
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure FC=gfortran-12 --enable-silent-rules
|
./configure CC=gcc-12 FC=gfortran-12 --enable-silent-rules
|
||||||
|
|
||||||
- name: compile TREXIO
|
- name: compile TREXIO
|
||||||
run: make -j3
|
run: make -j3
|
||||||
@ -177,7 +181,7 @@ jobs:
|
|||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
|
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
|
||||||
with:
|
with:
|
||||||
name: test-report-macos
|
name: test-report-${{ matrix.os }}
|
||||||
path: test-suite.log
|
path: test-suite.log
|
||||||
|
|
||||||
- name: clean
|
- name: clean
|
||||||
|
Loading…
Reference in New Issue
Block a user