xref: /libCEED/.github/workflows/c-fortran-test-linux-osx.yml (revision 8ddf3821d65409a20079cd5155deefdfc980e853)
1dfb8ed23Sjeremyltname: C/Fortran
23446d1b5SJeremy L Thompson
33446d1b5SJeremy L Thompsonon:
43446d1b5SJeremy L Thompson  push:
5dcd9f19cSJeremy L Thompson    branches:
6dcd9f19cSJeremy L Thompson      - main
7dcd9f19cSJeremy L Thompson  pull_request:
83446d1b5SJeremy L Thompson
93446d1b5SJeremy L Thompsonjobs:
103446d1b5SJeremy L Thompson  test:
113446d1b5SJeremy L Thompson    strategy:
123446d1b5SJeremy L Thompson      matrix:
13*8ddf3821SJeremy L Thompson        os: [ubuntu-24.04, macos-15]
14ff78e5d3SJeremy L Thompson        compiler: [gcc-13, clang]
153446d1b5SJeremy L Thompson
163446d1b5SJeremy L Thompson    runs-on: ${{ matrix.os }}
173446d1b5SJeremy L Thompson
183446d1b5SJeremy L Thompson    steps:
193446d1b5SJeremy L Thompson    - name: Environment setup
20e735508cSJeremy L Thompson      uses: actions/checkout@v4
213446d1b5SJeremy L Thompson    - name: Build and test libCEED
223446d1b5SJeremy L Thompson      env:
233446d1b5SJeremy L Thompson        CC: ${{ matrix.compiler }}
24ff78e5d3SJeremy L Thompson        FC: gfortran-13
253446d1b5SJeremy L Thompson      run: |
263446d1b5SJeremy L Thompson        make info
27d402b6f8SJeremy L Thompson        make -j
28d402b6f8SJeremy L Thompson        make prove -j
29