Skip to content

Github actions

Github actions #157

Workflow file for this run

name: Github actions
on:
push:
schedule:
- cron: '0 2 * * 1'
jobs:
Build:
name: build
strategy:
fail-fast: false
matrix:
image_type: [old, stable, trunk]
build_type: [Debug, Release]
runs-on: ubuntu-latest
container: ghcr.io/mehdichinoune/debian-gfortran-testing:${{ matrix.image_type }}
steps:
- uses: actions/checkout@v4
- name: Configuring
run: |
cmake \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DPFUNIT_DIR=/opt/pfunit/PFUNIT-4.9/cmake \
-S . \
-B build
- name: Building
run: cmake --build build -j$(nproc)
- name: Testing
run: |
cd build
ctest -j $(nproc) --output-on-failure