Skip to content

Commit

Permalink
[ci] Add second test suite to cover Doxygen, Fortan, examples
Browse files Browse the repository at this point in the history
Test Clang besides GCC
  • Loading branch information
gruenich committed Nov 25, 2023
1 parent c58522f commit 8586fbd
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Test library
on: [push, pull_request]

jobs:
test:
name: Build and test
test-minimal-ubuntu:
name: Build and test minimal Ubuntu
runs-on: ubuntu-latest

strategy:
matrix:
compiler:
- gcc
- clang

steps:
- name: Checkout code
Expand All @@ -27,3 +27,29 @@ jobs:

- name: Test
run: ctest --test-dir build --output-on-failure

test-extended-ubuntu:
name: Build and test extended Ubuntu
runs-on: ubuntu-latest

strategy:
matrix:
compiler:
- gcc
- gfortran

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install dependencies
run: sudo apt-get install cmake doxygen

- name: Configure
run: cmake -Denable_doc=on -Denable_fortran=on -B build

- name: Build
run: cmake --build build --parallel

- name: Test
run: ctest --test-dir build --output-on-failure

0 comments on commit 8586fbd

Please sign in to comment.