Skip to content

Tidy Random Ray

Tidy Random Ray #260

Workflow file for this run

name: build-and-test-ubuntu
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-test:
strategy:
matrix:
compiler: [gfortran8, gfortran9, gfortran10]
runs-on: ubuntu-20.04
container:
image: mikolajkowalski/scone-test:${{matrix.compiler}}
steps:
- uses: actions/checkout@v3
- name: CompileAndTest
run : |
mkdir build
cd build
cmake ..
make -j
make test
cd -
build-and-test-debug:
runs-on: ubuntu-20.04
container:
image: mikolajkowalski/scone-test:gfortran10
steps:
- uses: actions/checkout@v3
- name: CompileAndTest
run : |
mkdir build
cd build
cmake -DDEBUG=ON ..
make -j
make test
cd -
build-and-test-no-openmp:
runs-on: ubuntu-20.04
container:
image: mikolajkowalski/scone-test:gfortran10
steps:
- uses: actions/checkout@v3
- name: CompileAndTest
run : |
mkdir build
cd build
cmake -DOPENMP=OFF ..
make -j
make test
cd -