Skip to content

Commit 170c31e

Browse files
committed
trim build variants, update to cuda 12.2
1 parent ec23397 commit 170c31e

File tree

1 file changed

+7
-30
lines changed

1 file changed

+7
-30
lines changed

.github/workflows/github-actions.yml

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-20.04
1010
strategy:
1111
matrix:
12-
config: [boilerplate, release, debug_cuda_only, debug_mpi_only, debug_threads_only]
12+
config: [boilerplate]
1313

1414
include:
1515
- config: boilerplate
@@ -18,30 +18,6 @@ jobs:
1818
PERFFLOWASPECT_WITH_MULTITHREADS: ON
1919
CMAKE_BUILD_TYPE: Debug
2020

21-
- config: release
22-
PERFFLOWASPECT_WITH_CUDA: ON
23-
PERFFLOWASPECT_WITH_MPI: ON
24-
PERFFLOWASPECT_WITH_MULTITHREADS: ON
25-
CMAKE_BUILD_TYPE: Release
26-
27-
- config: debug_cuda_only
28-
PERFFLOWASPECT_WITH_CUDA: ON
29-
PERFFLOWASPECT_WITH_MPI: OFF
30-
PERFFLOWASPECT_WITH_MULTITHREADS: OFF
31-
CMAKE_BUILD_TYPE: Debug
32-
33-
- config: debug_mpi_only
34-
PERFFLOWASPECT_WITH_CUDA: OFF
35-
PERFFLOWASPECT_WITH_MPI: ON
36-
PERFFLOWASPECT_WITH_MULTITHREADS: OFF
37-
CMAKE_BUILD_TYPE: Debug
38-
39-
- config: debug_threads_only
40-
PERFFLOWASPECT_WITH_CUDA: OFF
41-
PERFFLOWASPECT_WITH_MPI: OFF
42-
PERFFLOWASPECT_WITH_MULTITHREADS: ON
43-
CMAKE_BUILD_TYPE: Debug
44-
4521
steps:
4622
# Checkout PerfFlowAspect repository under $GITHUB_WORKSPACE
4723
- uses: actions/checkout@v2
@@ -51,15 +27,16 @@ jobs:
5127
sudo apt-get update
5228
sudo apt install gcc clang llvm-dev libjansson-dev libssl-dev bison flex make cmake mpich
5329
gcc --version
54-
# install cuda 12.1
30+
# install cuda 12.2
5531
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
5632
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
57-
wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda-repo-ubuntu2004-12-1-local_12.1.0-530.30.02-1_amd64.deb
58-
sudo dpkg -i cuda-repo-ubuntu2004-12-1-local_12.1.0-530.30.02-1_amd64.deb
59-
sudo cp /var/cuda-repo-ubuntu2004-12-1-local/cuda-*-keyring.gpg /usr/share/keyrings/
33+
wget https://developer.download.nvidia.com/compute/cuda/12.2.0/local_installers/cuda-repo-ubuntu2004-12-2-local_12.2.0-535.54.03-1_amd64.deb
34+
sudo dpkg -i cuda-repo-ubuntu2004-12-2-local_12.2.0-535.54.03-1_amd64.deb
35+
sudo cp /var/cuda-repo-ubuntu2004-12-2-local/cuda-*-keyring.gpg /usr/share/keyrings/
6036
sudo apt-get update
6137
sudo apt-get -y install cuda
62-
export PATH=/usr/local/cuda-12.1/bin:$PATH
38+
which nvcc
39+
export PATH=/usr/local/cuda-12.2/bin:$PATH
6340
clang++ --version
6441
nvcc --version
6542

0 commit comments

Comments
 (0)