Skip to content

Commit

Permalink
Merge pull request #158 from spacemeshos/bump-axum
Browse files Browse the repository at this point in the history
Bump dependencies
  • Loading branch information
fasmat authored Nov 29, 2023
2 parents 1e96cea + 5f680a8 commit bbd7ff8
Show file tree
Hide file tree
Showing 6 changed files with 721 additions and 497 deletions.
19 changes: 3 additions & 16 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 @@ -108,7 +102,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
components: clippy
toolchain: nightly-2023-06-27
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Annotate commit with clippy warnings
uses: actions-rs/clippy-check@v1
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 bbd7ff8

Please sign in to comment.