Skip to content

Commit

Permalink
Update self-hosted linux runner
Browse files Browse the repository at this point in the history
Install openssl deps
  • Loading branch information
poszu committed Nov 22, 2023
1 parent c350562 commit 93f638b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 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,10 +53,10 @@ 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'
run: sudo apt-get install -y libpocl2 pocl-opencl-icd ocl-icd-opencl-dev
- if: matrix.runner == 'self-hosted-linux-intel'
run: sudo apt-get update && sudo apt-get install -y libpocl2 pocl-opencl-icd ocl-icd-opencl-dev
name: Install dependencies for testing openCL
- if: matrix.os == 'windows-2019'
name: Install dependencies for linking openCL
Expand Down Expand Up @@ -125,21 +125,22 @@ jobs:
args: --all-features --workspace

coverage:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, X64]
steps:
- uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: lscpu
- name: Install opencl
run: sudo apt-get install -y libpocl2 pocl-opencl-icd ocl-icd-opencl-dev
run: sudo apt-get update && sudo apt-get install -y libpocl2 pocl-opencl-icd ocl-icd-opencl-dev
- uses: actions/checkout@v3
with:
submodules: true
- name: Install stable
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- name: Install openssl deps
run: sudo apt-get install -y pkg-config libssl-dev
- name: cargo install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: cargo llvm-cov
Expand All @@ -160,12 +161,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 +193,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 93f638b

Please sign in to comment.