|
32 | 32 | fail-fast: false
|
33 | 33 | matrix:
|
34 | 34 | include:
|
35 |
| - - os: ubuntu-latest |
| 35 | + - os: [self-hosted, linux, x64, intel] |
36 | 36 | toolchain: stable
|
| 37 | + runner: ubuntu-22 |
37 | 38 | - os: [self-hosted, linux, arm64]
|
38 | 39 | rustflags: --cfg=aes_armv8
|
39 | 40 | toolchain: nightly-2023-06-27 # required for AES (https://docs.rs/aes/0.8.2/aes/#armv8-intrinsics-nightly-only)
|
|
52 | 53 | - uses: dtolnay/rust-toolchain@master
|
53 | 54 | with:
|
54 | 55 | toolchain: ${{ matrix.toolchain }}
|
55 |
| - - if: matrix.os == 'ubuntu-latest' |
| 56 | + - if: matrix.runner == 'ubuntu-22' |
56 | 57 | run: lscpu
|
57 |
| - - if: matrix.os == 'ubuntu-latest' |
| 58 | + - if: matrix.runner == 'ubuntu-22' |
58 | 59 | run: sudo apt-get install -y libpocl2 pocl-opencl-icd ocl-icd-opencl-dev
|
59 | 60 | name: Install dependencies for testing openCL
|
60 | 61 | - if: matrix.os == 'windows-2019'
|
@@ -159,11 +160,12 @@ jobs:
|
159 | 160 | fail-fast: false
|
160 | 161 | matrix:
|
161 | 162 | include:
|
162 |
| - - os: ubuntu-20.04 |
| 163 | + - os: [self-hosted, linux, x64, intel] |
163 | 164 | dylib: libpost.so
|
164 | 165 | staticlib: libpost.a
|
165 | 166 | artifact-name: linux
|
166 | 167 | toolchain: stable
|
| 168 | + runner: ubuntu-22 |
167 | 169 |
|
168 | 170 | - os: [self-hosted, linux, arm64]
|
169 | 171 | dylib: libpost.so
|
@@ -191,7 +193,7 @@ jobs:
|
191 | 193 | artifact-name: windows
|
192 | 194 | toolchain: stable
|
193 | 195 | steps:
|
194 |
| - - if: matrix.os == 'ubuntu-20.04' |
| 196 | + - if: matrix.runner == 'ubuntu-22' |
195 | 197 | run: sudo apt-get install -y ocl-icd-opencl-dev
|
196 | 198 | name: Install opencl
|
197 | 199 | - if: matrix.os == 'windows-2019'
|
|
0 commit comments