xref: /libCEED/.github/workflows/c-fortran-test-linux-osx.yml (revision 3446d1b5ce8d1a4e72ebab9baee4f1efd0361227)
1*3446d1b5SJeremy L Thompsonname: C/Fortran - GCC and Clang on Linux and OSX
2*3446d1b5SJeremy L Thompson
3*3446d1b5SJeremy L Thompsonon:
4*3446d1b5SJeremy L Thompson  push:
5*3446d1b5SJeremy L Thompson
6*3446d1b5SJeremy L Thompsonjobs:
7*3446d1b5SJeremy L Thompson  test:
8*3446d1b5SJeremy L Thompson    strategy:
9*3446d1b5SJeremy L Thompson      matrix:
10*3446d1b5SJeremy L Thompson        os: [ubuntu-latest, macos-latest]
11*3446d1b5SJeremy L Thompson        compiler: [gcc-9, clang]
12*3446d1b5SJeremy L Thompson
13*3446d1b5SJeremy L Thompson    runs-on: ${{ matrix.os }}
14*3446d1b5SJeremy L Thompson
15*3446d1b5SJeremy L Thompson    steps:
16*3446d1b5SJeremy L Thompson    - name: Environment setup
17*3446d1b5SJeremy L Thompson      uses: actions/checkout@v2
18*3446d1b5SJeremy L Thompson    - name: Build and test libCEED
19*3446d1b5SJeremy L Thompson      env:
20*3446d1b5SJeremy L Thompson        CC: ${{ matrix.compiler }}
21*3446d1b5SJeremy L Thompson        FC: gfortran-9
22*3446d1b5SJeremy L Thompson      run: |
23*3446d1b5SJeremy L Thompson        make info
24*3446d1b5SJeremy L Thompson        make -j2
25*3446d1b5SJeremy L Thompson        PROVE_OPTS=-v make prove -j2
26