Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/cuda-test-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "CUDA build and test (on push)"

# Note: NOT triggered by pull requests. Pull requests should be reviewed
# by a human first, then triggered manually. See cuda-test-manual.yml.
on:
push:
branches:
- master
jobs:
ubuntu1604-cuda:
name: tests ubuntu 16.04 with CUDA 9
runs-on: [self-hosted, ubuntu-16.04, cuda]
steps:
- uses: actions/checkout@v2
- name: create_build
run: mkdir build
- name: cmake
run: cmake -DCMAKE_BUILD_TYPE=Debug -DCUDA=ON -DOPENMP=ON -DPYTHON=OFF ..
working-directory: build
- name: make
run: make -j8
working-directory: build
- name: test
run: make test
env:
CTEST_OUTPUT_ON_FAILURE: 1
CTEST_PARALLEL_LEVEL: 8
working-directory: build