Skip to content

Commit bdc9a59

Browse files
authored
feat: test out self hosted runner (#105)
* feat: use self hosted runner * fix: remove dep installs
1 parent e8d6cfa commit bdc9a59

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,33 @@ env:
2222

2323
jobs:
2424
check_clippy:
25-
runs-on: ubuntu-24.04
25+
# runs-on: ubuntu-24.04
26+
runs-on: self-hosted
2627
name: Clippy
2728
steps:
2829
- uses: actions/checkout@v4
29-
- name: Install required packages
30-
run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev
30+
# - name: Install required packages
31+
# run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev
3132
- name: Run cargo clippy
3233
run: cargo clippy --all-targets --workspace -- -D warnings
3334

3435
check_fmt:
35-
runs-on: ubuntu-24.04
36+
# runs-on: ubuntu-24.04
37+
runs-on: self-hosted
3638
name: Checking fmt
3739
steps:
3840
- uses: actions/checkout@v4
3941
- name: Run cargo fmt
4042
run: cargo fmt --all -- --check
4143

4244
test:
43-
runs-on: ubuntu-24.04
45+
# runs-on: ubuntu-24.04
46+
runs-on: self-hosted
4447
name: Test
4548
steps:
4649
- uses: actions/checkout@v4
47-
- name: Install required packages
48-
run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev
50+
# - name: Install required packages
51+
# run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev
4952
# In case no GPUs are available, it's using the CPU fallback.
5053
- name: Test
5154
run: cargo test --verbose

0 commit comments

Comments
 (0)