xref: /libCEED/.github/workflows/c-fortran-test-linux-osx.yml (revision 0adbbf50dce0fd0a32cc04fdb6b3829bb2cdb133)
1dfb8ed23Sjeremyltname: C/Fortran
23446d1b5SJeremy L Thompson
33446d1b5SJeremy L Thompsonon:
43446d1b5SJeremy L Thompson  push:
53446d1b5SJeremy L Thompson
63446d1b5SJeremy L Thompsonjobs:
73446d1b5SJeremy L Thompson  test:
83446d1b5SJeremy L Thompson    strategy:
93446d1b5SJeremy L Thompson      matrix:
106c0547c1SJeremy L Thompson        os: [ubuntu-22.04, macos-12]
116c0547c1SJeremy L Thompson        compiler: [gcc-11, clang]
123446d1b5SJeremy L Thompson
133446d1b5SJeremy L Thompson    runs-on: ${{ matrix.os }}
143446d1b5SJeremy L Thompson
153446d1b5SJeremy L Thompson    steps:
163446d1b5SJeremy L Thompson    - name: Environment setup
17*0adbbf50SJeremy L Thompson      uses: actions/checkout@v3
183446d1b5SJeremy L Thompson    - name: Build and test libCEED
193446d1b5SJeremy L Thompson      env:
203446d1b5SJeremy L Thompson        CC: ${{ matrix.compiler }}
216c0547c1SJeremy L Thompson        FC: gfortran-11
223446d1b5SJeremy L Thompson      run: |
2378a9fcb6SJeremy L Thompson        make -v
243446d1b5SJeremy L Thompson        make info
253446d1b5SJeremy L Thompson        make -j2
263446d1b5SJeremy L Thompson        PROVE_OPTS=-v make prove -j2
27