message: GH-actions: moved build-cuda to bottom.
diff: @@ -107,24 +107,15 @@ jobs:
  coverage xml
  coveralls
  - build-cuda:
  - runs-on: ${{ matrix.config.os }}
  - strategy:
  - fail-fast: false
  - matrix:
  - config:
  - - os: ubuntu-20.04
  - - os: ubuntu-18.04
  + test-pinning-defects:
  + runs-on: ubuntu-latest
  env:
  BUILD_TYPE: Release
  - CMAKE_FLAGS: -DSPIRIT_UI_CXX_USE_QT=OFF -DSPIRIT_USE_CUDA=ON -DSPIRIT_CUDA_ARCH=sm_70
  + CMAKE_FLAGS: -DSPIRIT_UI_CXX_USE_QT=OFF -DSPIRIT_ENABLE_PINNING=ON -DSPIRIT_ENABLE_DEFECTS=ON
  steps:
  - uses: actions/checkout@v2
  - - name: Install CUDA
  - run: sudo apt install nvidia-cuda-toolkit
  -
  - name: Create build folder
  run: cmake -E make_directory ${{runner.workspace}}/build
  @@ -138,15 +129,32 @@ jobs:
  working-directory: ${{runner.workspace}}/build
  run: cmake --build . --config $BUILD_TYPE -j 2
  - test-pinning-defects:
  - runs-on: ubuntu-latest
  + - 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 }}
  + strategy:
  + fail-fast: false
  + matrix:
  + config:
  + - os: ubuntu-20.04
  + - os: ubuntu-18.04
  env:
  BUILD_TYPE: Release
  - CMAKE_FLAGS: -DSPIRIT_UI_CXX_USE_QT=OFF -DSPIRIT_ENABLE_PINNING=ON -DSPIRIT_ENABLE_DEFECTS=ON
  + CMAKE_FLAGS: -DSPIRIT_UI_CXX_USE_QT=OFF -DSPIRIT_USE_CUDA=ON -DSPIRIT_CUDA_ARCH=sm_70
  steps:
  - uses: actions/checkout@v2
  + - name: Install CUDA
  + run: sudo apt install nvidia-cuda-toolkit
  +
  - name: Create build folder
  run: cmake -E make_directory ${{runner.workspace}}/build
  @@ -159,11 +167,3 @@ jobs:
  shell: bash
  working-directory: ${{runner.workspace}}/build
  run: cmake --build . --config $BUILD_TYPE -j 2
  \ No newline at end of file
  -
  - - 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
  \ No newline at end of file
  