Skip to content

Commit

Permalink
Merge pull request #285 from spacemeshos/update-linux-arm-runner
Browse files Browse the repository at this point in the history
Use GH runner for arm
  • Loading branch information
fasmat authored Jun 21, 2024
2 parents b1bdd69 + 87dca00 commit 757fc0e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ jobs:
matrix:
include:
- os: [self-hosted, linux, x64, intel]
runner: self-hosted-linux-intel
- os: [self-hosted, linux, arm64]
- os: ubuntu-latest-arm-8-cores
rustflags: --cfg=aes_armv8
- os: [self-hosted, macos, arm64]
rustflags: --cfg=aes_armv8
Expand All @@ -51,7 +50,7 @@ jobs:
with:
submodules: true
- uses: dtolnay/rust-toolchain@1.78
- if: matrix.runner == 'self-hosted-linux-intel'
- if: matrix.os == 'ubuntu-latest-arm-8-cores'
run: sudo apt-get update && sudo apt-get install -y libpocl2 pocl-opencl-icd ocl-icd-opencl-dev
name: Install dependencies for testing openCL on Linux
- if: matrix.os == 'windows-2019'
Expand Down Expand Up @@ -142,12 +141,11 @@ jobs:
matrix:
include:
- os: [self-hosted, linux, x64, intel]
runner: self-hosted-linux-intel
dylib: libpost.so
staticlib: libpost.a
artifact-name: linux

- os: [self-hosted, linux, arm64]
- os: ubuntu-latest-arm-8-cores
dylib: libpost.so
staticlib: libpost.a
rustflags: --cfg=aes_armv8
Expand All @@ -169,7 +167,7 @@ jobs:
staticlib: post.lib
artifact-name: windows
steps:
- if: matrix.runner == 'self-hosted-linux-intel'
- if: matrix.os == 'ubuntu-latest-arm-8-cores'
run: sudo apt-get update && sudo apt-get install -y ocl-icd-opencl-dev
name: Install opencl
- if: matrix.os == 'windows-2019'
Expand Down

0 comments on commit 757fc0e

Please sign in to comment.