Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a second CUDA CI workflow for automatic testing of pushes. #461

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
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