Squashed commit of the following:
Some checks failed
CI / build_cuda10-1 (push) Failing after 2s
CI / build (push) Failing after 3s

commit 25e7cb77683736a588acb6b30a8ac89e2bd7f56a
Author: Carl Pearson <pearson@illinois.edu>
Date:   Fri Sep 20 13:25:49 2019 -0500

    automatically define PERFECT_HAS_CUDA with nvcc

commit fcc699c165ba515619781aefb378d3c0c4d1093d
Author: Carl Pearson <pearson@illinois.edu>
Date:   Fri Sep 20 13:18:42 2019 -0500

    optional CUDA support
This commit is contained in:
Carl Pearson
2019-09-20 13:26:08 -05:00
parent 72c39c1dd5
commit 91e15ee7ea
8 changed files with 130 additions and 48 deletions

View File

@@ -38,3 +38,26 @@ jobs:
g++ --version
nvcc --version
make VERBOSE=1
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install cmake
run: |
export PREFIX=$HOME/software/cmake
wget https://github.com/Kitware/CMake/releases/download/v3.15.3/cmake-3.15.3-Linux-x86_64.tar.gz -O cmake.tar.gz
mkdir -p $PREFIX
tar -xvf cmake.tar.gz --strip-components=1 -C $PREFIX
- name: configure
run: |
export PATH=$HOME/software/cmake/bin:$PATH
mkdir build
cd build
cmake --version
cmake .. -DCMAKE_BUILD_TYPE=Debug
- name: build
run: |
export PATH=$HOME/software/cmake/bin:$PATH
cd build
g++ --version
make VERBOSE=1