Fission energy release #458
Workflow file for this run
This file contains hidden or 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
| name: build-and-test-ubuntu | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build-and-test: | |
| strategy: | |
| matrix: | |
| compiler: [gfortran10, gfortran11, gfortran12] | |
| runs-on: ubuntu-latest | |
| container: | |
| image: mikolajkowalski/scone-test:${{matrix.compiler}}_pfu4 | |
| options: --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: CompileAndTest | |
| run : | | |
| mkdir build | |
| cd build | |
| cmake .. | |
| make -j | |
| ctest --output-on-faliure | |
| cd - | |
| build-and-test-debug: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: mikolajkowalski/scone-test:gfortran12_pfu4 | |
| options: --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: CompileAndTest | |
| run : | | |
| mkdir build | |
| cd build | |
| cmake -DDEBUG=ON .. | |
| make -j | |
| ctest --output-on-faliure | |
| cd - | |
| build-and-test-no-openmp: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: mikolajkowalski/scone-test:gfortran12_pfu4 | |
| options: --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: CompileAndTest | |
| run : | | |
| mkdir build | |
| cd build | |
| cmake -DOPENMP=OFF .. | |
| make -j | |
| ctest --output-on-faliure | |
| cd - | |
| build-and-test-no-mpi: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: mikolajkowalski/scone-test:gfortran12_pfu4 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: CompileAndTest | |
| run : | | |
| mkdir build | |
| cd build | |
| cmake -DMPI=OFF .. | |
| make -j | |
| ctest --output-on-faliure | |
| cd - |