Skip to content

Commit b06f9fb

Browse files
authored
revert: Revert "feat: test out self hosted runner" (#107)
This is a temporary change and a future commit will switch to a runner with a GPU again. This reverts commit bdc9a59.
1 parent d1ad2f5 commit b06f9fb

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/ci.yml

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

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

3536
check_fmt:
36-
# runs-on: ubuntu-24.04
37-
runs-on: self-hosted
37+
runs-on: ubuntu-24.04
3838
name: Checking fmt
3939
steps:
4040
- uses: actions/checkout@v4
41+
- name: Install cargo fmt
42+
run: rustup component add rustfmt
4143
- name: Run cargo fmt
4244
run: cargo fmt --all -- --check
4345

4446
test:
45-
# runs-on: ubuntu-24.04
46-
runs-on: self-hosted
47+
runs-on: ubuntu-24.04
4748
name: Test
4849
steps:
4950
- uses: actions/checkout@v4
50-
# - name: Install required packages
51-
# run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev
51+
- name: Install required packages
52+
run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev
5253
# In case no GPUs are available, it's using the CPU fallback.
5354
- name: Test
5455
run: cargo test --verbose

0 commit comments

Comments
 (0)