From bdc411a339a0da089f0494e203c93299b954d9ef Mon Sep 17 00:00:00 2001 From: amstokely Date: Mon, 27 Nov 2023 09:06:37 -0700 Subject: [PATCH] feat: enabled self-hosted CI. --- .github/workflows/netsci_CI.yml | 5 +---- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/netsci_CI.yml b/.github/workflows/netsci_CI.yml index 3ea292e..2c5478d 100644 --- a/.github/workflows/netsci_CI.yml +++ b/.github/workflows/netsci_CI.yml @@ -23,7 +23,7 @@ jobs: run: | mkdir build cd build - cmake .. -DCONDA_DIR=$CONDA_PREFIX + cmake .. -DCONDA_DIR=$CONDA_PREFIX -DCUDA_ARCHITECTURE=52 cmake --build . -j make python - name: ctest @@ -32,7 +32,4 @@ jobs: ctest - name: pytest run: | - cd tests/cuarray/python - pytest - cd ../../netsci/python pytest diff --git a/CMakeLists.txt b/CMakeLists.txt index 210aead..5280801 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.21) -PROJECT(netsci LANGUAGES CXX) +PROJECT(netsci LANGUAGES CXX CUDA) SET(CMAKE_CXX_STANDARD 14) SET(CMAKE_BUILD_TYPE Release)