File tree 1 file changed +11
-10
lines changed 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 22
22
23
23
jobs :
24
24
check_clippy :
25
- # runs-on: ubuntu-24.04
26
- runs-on : self-hosted
25
+ runs-on : ubuntu-24.04
27
26
name : Clippy
28
27
steps :
29
28
- 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
32
33
- name : Run cargo clippy
33
34
run : cargo clippy --all-targets --workspace -- -D warnings
34
35
35
36
check_fmt :
36
- # runs-on: ubuntu-24.04
37
- runs-on : self-hosted
37
+ runs-on : ubuntu-24.04
38
38
name : Checking fmt
39
39
steps :
40
40
- uses : actions/checkout@v4
41
+ - name : Install cargo fmt
42
+ run : rustup component add rustfmt
41
43
- name : Run cargo fmt
42
44
run : cargo fmt --all -- --check
43
45
44
46
test :
45
- # runs-on: ubuntu-24.04
46
- runs-on : self-hosted
47
+ runs-on : ubuntu-24.04
47
48
name : Test
48
49
steps :
49
50
- 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
52
53
# In case no GPUs are available, it's using the CPU fallback.
53
54
- name : Test
54
55
run : cargo test --verbose
You can’t perform that action at this time.
0 commit comments