message: GH-actions: add OpenMP builds.
diff: @@ -41,6 +41,43 @@ jobs:
  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:
  + - os: ubuntu-latest
  + - os: macos-latest
  +
  + env:
  + OMP_NUM_THREADS: 4
  +
  + 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 -DSPIRIT_USE_OPENMP=ON
  +
  + - 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-cuda:
  runs-on: ${{ matrix.config.os }}
  