Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cuda][ci] Run the cuda tests on a self-hosted runner with a gpu. #1069

Merged
merged 3 commits into from
Sep 5, 2024
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
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,13 @@ jobs:
clang-runtime: '10'
cuda: true

- name: selfh-ubu20-clang9-runtime10-cuda
os: self-hosted #ubuntu-20.04
runs-on: cuda
compiler: clang-9
clang-runtime: '10'
cuda: true

- name: ubu20-clang9-runtime15
os: ubuntu-20.04
compiler: clang-9
Expand Down Expand Up @@ -527,7 +534,7 @@ jobs:
echo "deb https://apt.llvm.org/${os_codename}/ llvm-toolchain-${os_codename}-${{ matrix.clang-runtime }} main" | sudo tee -a /etc/apt/sources.list
sudo apt update
fi
sudo apt install llvm-${{ matrix.clang-runtime }}-dev \
sudo apt install -y llvm-${{ matrix.clang-runtime }}-dev \
llvm-${{ matrix.clang-runtime }}-tools \
clang-${{ matrix.clang-runtime }} \
libclang-${{ matrix.clang-runtime }}-dev \
Expand Down Expand Up @@ -713,7 +720,7 @@ jobs:
# llvm-8-tools is broken as it depends on python2.7 we use FileCheck from llvm-7-tools
if [[ '${{ matrix.clang-runtime }}' == '8' ]]; then
if [[ ! -f $PATH_TO_LLVM_BUILD/bin/FileCheck ]]; then
sudo apt install llvm-9-dev llvm-9-tools
sudo apt install -y llvm-9-dev llvm-9-tools
sudo ln -s /usr/lib/llvm-9/bin/FileCheck $PATH_TO_LLVM_BUILD/bin/FileCheck
fi
fi
Expand Down Expand Up @@ -748,7 +755,7 @@ jobs:
- name: Setup code coverage
if: ${{ (matrix.coverage == true) }}
run: |
sudo apt install lcov
sudo apt install -y lcov
echo "CLAD_CODE_COVERAGE=1" >> $GITHUB_ENV
echo "BUILD_TYPE=Debug" >> $GITHUB_ENV
- name: Display config *nix
Expand Down Expand Up @@ -911,7 +918,7 @@ jobs:
cat obj/CMakeCache.txt
cat obj/CMakeFiles/*.log
- name: Setup tmate session
if: ${{ failure() && runner.debug }}
if: ${{ runner.debug }}
uses: mxschmitt/action-tmate@v3
# When debugging increase to a suitable value!
timeout-minutes: 30
Expand Down
Loading