Squashed commit of the following:
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:
23
.github/workflows/ccpp.yml
vendored
23
.github/workflows/ccpp.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user