Skip to content

Commit

Permalink
Update self-hosted linux runner
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu committed Nov 22, 2023
1 parent c350562 commit be8932c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
fail-fast: false
matrix:
include:
- os: [self-hosted, linux, x64, intel]
- os: [self-hosted, linux, X64]
toolchain: stable
runner: ubuntu-22
runner: self-hosted-linux-intel
- os: [self-hosted, linux, arm64]
rustflags: --cfg=aes_armv8
toolchain: nightly-2023-06-27 # required for AES (https://docs.rs/aes/0.8.2/aes/#armv8-intrinsics-nightly-only)
Expand All @@ -53,9 +53,9 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- if: matrix.runner == 'ubuntu-22'
- if: matrix.runner == 'self-hosted-linux-intel'
run: lscpu
- if: matrix.runner == 'ubuntu-22'
- if: matrix.runner == 'self-hosted-linux-intel'
run: sudo apt-get install -y libpocl2 pocl-opencl-icd ocl-icd-opencl-dev
name: Install dependencies for testing openCL
- if: matrix.os == 'windows-2019'
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
args: --all-features --workspace

coverage:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, X64]
steps:
- uses: arduino/setup-protoc@v2
with:
Expand Down Expand Up @@ -160,12 +160,11 @@ jobs:
fail-fast: false
matrix:
include:
- os: [self-hosted, linux, x64, intel]
- os: ubuntu-latest
dylib: libpost.so
staticlib: libpost.a
artifact-name: linux
toolchain: stable
runner: ubuntu-22

- os: [self-hosted, linux, arm64]
dylib: libpost.so
Expand Down Expand Up @@ -193,7 +192,7 @@ jobs:
artifact-name: windows
toolchain: stable
steps:
- if: matrix.runner == 'ubuntu-22'
- if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y ocl-icd-opencl-dev
name: Install opencl
- if: matrix.os == 'windows-2019'
Expand Down

0 comments on commit be8932c

Please sign in to comment.