File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 2222
2323jobs :
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
You can’t perform that action at this time.
0 commit comments