mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-08 15:01:29 +01:00
Update CI actions: replace actions-rs/toolchain with dtolnay/rust-toolchain, update checkout action to v3 (#120)
* replace actions-rs/toolchain with dtolnay/rust-toolchain;update checkout * try removing mnt6_753 curve tests to see if CI doesn't stop
This commit is contained in:
44
.github/workflows/ci.yml
vendored
44
.github/workflows/ci.yml
vendored
@@ -14,13 +14,11 @@ jobs:
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
components: rustfmt
|
||||
|
||||
- name: cargo fmt --check
|
||||
@@ -41,14 +39,14 @@ jobs:
|
||||
- nightly
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Rust (${{ matrix.rust }})
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: ${{ matrix.rust }}
|
||||
override: true
|
||||
id: toolchain
|
||||
- run: rustup override set ${{steps.toolchain.outputs.name}}
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
@@ -92,13 +90,10 @@ jobs:
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v3
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
components: rustfmt
|
||||
|
||||
- name: cargo doc --all --no-deps --document-private-items --all-features
|
||||
@@ -112,21 +107,21 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Rust (${{ matrix.rust }})
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
id: toolchain-thumbv6m
|
||||
with:
|
||||
toolchain: stable
|
||||
target: thumbv6m-none-eabi
|
||||
override: true
|
||||
- run: rustup override set ${{steps.toolchain-thumbv6m.outputs.name}}
|
||||
|
||||
- name: Install Rust ARM64 (${{ matrix.rust }})
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
id: toolchain-aarch64
|
||||
with:
|
||||
toolchain: stable
|
||||
target: aarch64-unknown-none
|
||||
override: true
|
||||
- run: rustup override set ${{steps.toolchain-aarch64.outputs.name}}
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
@@ -154,7 +149,6 @@ jobs:
|
||||
- vesta
|
||||
- mnt4_298
|
||||
- mnt6_298
|
||||
- mnt6_753
|
||||
- ed_on_bls12_381
|
||||
steps:
|
||||
- name: Checkout curves
|
||||
@@ -168,11 +162,7 @@ jobs:
|
||||
path: r1cs-std
|
||||
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Patch cargo.toml
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user