From bdc9a595eba17f7fe89142b7b1fa78961bd94c50 Mon Sep 17 00:00:00 2001 From: nemo Date: Mon, 30 Sep 2024 13:04:01 -0400 Subject: [PATCH] feat: test out self hosted runner (#105) * feat: use self hosted runner * fix: remove dep installs --- .github/workflows/ci.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1707cc21..e6329a6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,17 +22,19 @@ env: jobs: check_clippy: - runs-on: ubuntu-24.04 +# runs-on: ubuntu-24.04 + runs-on: self-hosted name: Clippy steps: - uses: actions/checkout@v4 - - name: Install required packages - run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev +# - name: Install required packages +# run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev - name: Run cargo clippy run: cargo clippy --all-targets --workspace -- -D warnings check_fmt: - runs-on: ubuntu-24.04 +# runs-on: ubuntu-24.04 + runs-on: self-hosted name: Checking fmt steps: - uses: actions/checkout@v4 @@ -40,12 +42,13 @@ jobs: run: cargo fmt --all -- --check test: - runs-on: ubuntu-24.04 +# runs-on: ubuntu-24.04 + runs-on: self-hosted name: Test steps: - uses: actions/checkout@v4 - - name: Install required packages - run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev +# - name: Install required packages +# run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev # In case no GPUs are available, it's using the CPU fallback. - name: Test run: cargo test --verbose