Skip to content

Commit

Permalink
Update deps, don't require nightly for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu committed Nov 28, 2023
1 parent 4191021 commit c6f2033
Show file tree
Hide file tree
Showing 3 changed files with 544 additions and 457 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,14 @@ jobs:
matrix:
include:
- os: [self-hosted, linux, x64, intel]
toolchain: stable
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)
- os: [self-hosted, macos, 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)
- os: macos-latest
toolchain: stable
- os: windows-2019
toolchain: stable

steps:
- uses: arduino/setup-protoc@v2
Expand All @@ -53,9 +49,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- uses: dtolnay/rust-toolchain@stable
- 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 on Linux
Expand Down Expand Up @@ -155,33 +149,28 @@ jobs:
dylib: libpost.so
staticlib: libpost.a
artifact-name: linux
toolchain: stable

- os: [self-hosted, linux, arm64]
dylib: libpost.so
staticlib: libpost.a
rustflags: --cfg=aes_armv8
artifact-name: linux-arm64
toolchain: nightly-2023-06-27 # required for AES (https://docs.rs/aes/0.8.2/aes/#armv8-intrinsics-nightly-only)

- os: [self-hosted, macos, arm64]
dylib: libpost.dylib
staticlib: libpost.a
rustflags: --cfg=aes_armv8
artifact-name: macos-m1
toolchain: nightly-2023-06-27 # required for AES (https://docs.rs/aes/0.8.2/aes/#armv8-intrinsics-nightly-only)

- os: macos-latest
dylib: libpost.dylib
staticlib: libpost.a
artifact-name: macos
toolchain: stable

- os: windows-2019
dylib: post.dll
staticlib: post.lib
artifact-name: windows
toolchain: stable
steps:
- if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y ocl-icd-opencl-dev
Expand All @@ -192,9 +181,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
key: ${{ join( matrix.os, '-' ) }}
Expand Down
Loading

0 comments on commit c6f2033

Please sign in to comment.