message: GH-actions: simplified OpenMP test.
  Renamed build to test to disambiguate.
diff: @@ -5,7 +5,7 @@ on: [push]
  jobs:
  - build:
  + test:
  runs-on: ${{ matrix.os }}
  strategy:
  @@ -13,45 +13,16 @@ jobs:
  matrix:
  os: [ubuntu-latest, macos-latest, windows-latest]
  build-type: [Release, Debug]
  -
  - env:
  - BUILD_TYPE: ${{ matrix.build-type }}
  -
  - steps:
  - - uses: actions/checkout@v2
  -
  - - name: Create build folder
  - run: cmake -E make_directory ${{runner.workspace}}/build
  -
  - - name: configure
  - shell: bash
  - working-directory: ${{runner.workspace}}/build
  - run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSPIRIT_UI_CXX_USE_QT=OFF
  -
  - - name: build
  - shell: bash
  - working-directory: ${{runner.workspace}}/build
  - run: cmake --build . --config $BUILD_TYPE -j 2
  -
  - - name: Install python packages
  - run: pip install --user numpy
  -
  - - name: test
  - shell: bash
  - working-directory: ${{runner.workspace}}/build
  - run: ctest -C $BUILD_TYPE --output-on-failure
  -
  - build-openmp:
  -
  - runs-on: ${{ matrix.config.os }}
  - strategy:
  - fail-fast: false
  - matrix:
  - config:
  + include:
  - os: ubuntu-latest
  + build-type: Release
  + openmp: true
  - os: macos-latest
  + build-type: Release
  + openmp: true
  env:
  + CMAKE_FLAGS: -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DSPIRIT_UI_CXX_USE_QT=OFF
  OMP_NUM_THREADS: 4
  steps:
  @@ -60,15 +31,19 @@ jobs:
  - name: Create build folder
  run: cmake -E make_directory ${{runner.workspace}}/build
  + - name: Configure environment
  + if: ${{ matrix.openmp }}
  + run: export CMAKE_FLAGS=$CMAKE_FLAGS -DSPIRIT_USE_OPENMP=ON
  +
  - name: configure
  shell: bash
  working-directory: ${{runner.workspace}}/build
  - run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSPIRIT_UI_CXX_USE_QT=OFF -DSPIRIT_USE_OPENMP=ON
  + run: cmake $GITHUB_WORKSPACE $CMAKE_FLAGS
  - name: build
  shell: bash
  working-directory: ${{runner.workspace}}/build
  - run: cmake --build . --config $BUILD_TYPE -j 2
  + run: cmake --build . --config ${{ matrix.build-type }} -j 2
  - name: Install python packages
  run: pip install --user numpy
  @@ -76,7 +51,7 @@ jobs:
  - name: test
  shell: bash
  working-directory: ${{runner.workspace}}/build
  - run: ctest -C $BUILD_TYPE --output-on-failure
  + run: ctest -C ${{ matrix.build-type }} --output-on-failure
  build-cuda:
  