Skip to content

Commit c350562

Browse files
authored
EDIT: GH action ci.yml
- change the ubuntu runner to our own selfhosted node to debug
1 parent c047e77 commit c350562

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
include:
35-
- os: ubuntu-latest
35+
- os: [self-hosted, linux, x64, intel]
3636
toolchain: stable
37+
runner: ubuntu-22
3738
- os: [self-hosted, linux, arm64]
3839
rustflags: --cfg=aes_armv8
3940
toolchain: nightly-2023-06-27 # required for AES (https://docs.rs/aes/0.8.2/aes/#armv8-intrinsics-nightly-only)
@@ -52,9 +53,9 @@ jobs:
5253
- uses: dtolnay/rust-toolchain@master
5354
with:
5455
toolchain: ${{ matrix.toolchain }}
55-
- if: matrix.os == 'ubuntu-latest'
56+
- if: matrix.runner == 'ubuntu-22'
5657
run: lscpu
57-
- if: matrix.os == 'ubuntu-latest'
58+
- if: matrix.runner == 'ubuntu-22'
5859
run: sudo apt-get install -y libpocl2 pocl-opencl-icd ocl-icd-opencl-dev
5960
name: Install dependencies for testing openCL
6061
- if: matrix.os == 'windows-2019'
@@ -159,11 +160,12 @@ jobs:
159160
fail-fast: false
160161
matrix:
161162
include:
162-
- os: ubuntu-20.04
163+
- os: [self-hosted, linux, x64, intel]
163164
dylib: libpost.so
164165
staticlib: libpost.a
165166
artifact-name: linux
166167
toolchain: stable
168+
runner: ubuntu-22
167169

168170
- os: [self-hosted, linux, arm64]
169171
dylib: libpost.so
@@ -191,7 +193,7 @@ jobs:
191193
artifact-name: windows
192194
toolchain: stable
193195
steps:
194-
- if: matrix.os == 'ubuntu-20.04'
196+
- if: matrix.runner == 'ubuntu-22'
195197
run: sudo apt-get install -y ocl-icd-opencl-dev
196198
name: Install opencl
197199
- if: matrix.os == 'windows-2019'

0 commit comments

Comments
 (0)