xref: /libCEED/.github/workflows/c-fortran-test-linux-osx.yml (revision b2e3f8ecbfa285d0f4ffde9b24c57cc13f0319fb)
1name: C/Fortran
2
3on:
4  push:
5    branches:
6      - main
7  pull_request:
8
9jobs:
10  test:
11    strategy:
12      matrix:
13        os: [ubuntu-22.04, macos-12]
14        compiler: [gcc-11, clang]
15
16    runs-on: ${{ matrix.os }}
17
18    steps:
19    - name: Environment setup
20      uses: actions/checkout@v3
21    - name: Build and test libCEED
22      env:
23        CC: ${{ matrix.compiler }}
24        FC: gfortran-11
25      run: |
26        make -v
27        make info
28        make -j2
29        PROVE_OPTS=-v make prove -j2
30