Builds again #784
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://github.com/Forsti5/Fortran-Unit-Test-Basic/blob/main/.github/workflows/main.yml | |
name: Build and test | |
on: [push, pull_request] | |
jobs: | |
GNU: | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/itpplasma/devel:latest | |
options: --user root | |
name: Build and test | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Fix permissions | |
run: | | |
git config --global --add safe.directory `pwd` | |
- name: Build | |
run: | | |
make | |
- name: Test | |
run: | | |
cd build && ctest --output-on-failure |