Skip to content

Commit b073ae3

Browse files
authored
Merge pull request #4 from pkestene/update/ci
mini ci update
2 parents c5fa7dc + a6ec35a commit b073ae3

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: C/C++ CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches:
6+
- master
67
pull_request:
7-
branches: [ master ]
8+
branches:
9+
- master
810
workflow_dispatch:
911

1012
jobs:
@@ -14,18 +16,21 @@ jobs:
1416
fail-fast: false
1517
matrix:
1618
include:
17-
- os: ubuntu-22.04
18-
cuda: "12.0.0"
19+
- os: ubuntu-24.04
20+
cuda: "12.5.0"
1921

2022
env:
2123
config: "Release"
2224

2325
steps:
24-
- name: Install dependencies
25-
run: sudo apt-get install -y libhwloc-dev
26+
- name: hardware info
27+
run: cat /proc/cpuinfo
28+
- name: Install native dependencies
29+
run: sudo apt-get install -y libhwloc-dev mpi-default-dev libhdf5-openmpi-dev
2630

2731
- name: Install CUDA
28-
uses: Jimver/[email protected]
32+
uses: Jimver/[email protected]
33+
id: cuda-toolkit
2934
if: runner.os == 'Linux'
3035
with:
3136
sub-packages: '["nvcc", "nvrtc", "cudart"]'
@@ -37,6 +42,8 @@ jobs:
3742
shell: bash
3843
run: |
3944
nvcc -V
45+
echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}"
46+
echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}"
4047
ls "$CUDA_PATH"
4148
ls "$CUDA_PATH/bin"
4249
ls "$CUDA_PATH/include"
@@ -45,9 +52,9 @@ jobs:
4552
shell: bash
4653
run: cmake --version
4754

48-
# make sure to explicitely checkout git submodule !
55+
# make sure to explicitly checkout git submodule !
4956
- name: checkout repository
50-
uses: actions/checkout@v3
57+
uses: actions/checkout@v4
5158
with:
5259
submodules: true
5360

0 commit comments

Comments
 (0)