Upgrade blst to v0.3.13 #1148
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
feature-checks: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: taiki-e/install-action@cargo-hack | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: "./bindings/rust" | |
- name: cargo hack | |
working-directory: bindings/rust | |
run: cargo hack check --feature-powerset --depth 2 | |
- name: Check that bindings are up to date | |
run: git diff --exit-code bindings/rust/src/bindings/generated.rs | |
tests: | |
runs-on: ${{ matrix.host }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- host: ubuntu-latest | |
target: x86_64-unknown-linux-gnu | |
- host: windows-latest | |
target: x86_64-pc-windows-msvc | |
- host: macos-14 | |
target: aarch64-apple-darwin | |
- host: macos-latest | |
target: x86_64-apple-darwin | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
target: ${{ matrix.target }} | |
- uses: taiki-e/setup-cross-toolchain-action@v1 | |
with: | |
target: ${{ matrix.target }} | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: "./bindings/rust" | |
cache-on-failure: true | |
- name: Build and Test | |
working-directory: bindings/rust | |
run: cargo test --target ${{ matrix.target }} --features generate-bindings | |
- name: Check that bindings are up to date | |
run: git diff --exit-code bindings/rust/src/bindings/generated.rs |