Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: C/C++ CI

on:
push:
branches: [ master ]
branches:
- master
pull_request:
branches: [ master ]
branches:
- master
workflow_dispatch:

jobs:
Expand All @@ -14,18 +16,21 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
cuda: "12.0.0"
- os: ubuntu-24.04
cuda: "12.5.0"

env:
config: "Release"

steps:
- name: Install dependencies
run: sudo apt-get install -y libhwloc-dev
- name: hardware info
run: cat /proc/cpuinfo
- name: Install native dependencies
run: sudo apt-get install -y libhwloc-dev mpi-default-dev libhdf5-openmpi-dev

- name: Install CUDA
uses: Jimver/[email protected]
uses: Jimver/[email protected]
id: cuda-toolkit
if: runner.os == 'Linux'
with:
sub-packages: '["nvcc", "nvrtc", "cudart"]'
Expand All @@ -37,6 +42,8 @@ jobs:
shell: bash
run: |
nvcc -V
echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}"
echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}"
ls "$CUDA_PATH"
ls "$CUDA_PATH/bin"
ls "$CUDA_PATH/include"
Expand All @@ -45,9 +52,9 @@ jobs:
shell: bash
run: cmake --version

# make sure to explicitely checkout git submodule !
# make sure to explicitly checkout git submodule !
- name: checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand Down