mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-09 07:21: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:
|
steps:
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
|
|
||||||
- name: cargo fmt --check
|
- name: cargo fmt --check
|
||||||
@@ -41,14 +39,14 @@ jobs:
|
|||||||
- nightly
|
- nightly
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Rust (${{ matrix.rust }})
|
- name: Install Rust (${{ matrix.rust }})
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
|
||||||
toolchain: ${{ matrix.rust }}
|
toolchain: ${{ matrix.rust }}
|
||||||
override: true
|
id: toolchain
|
||||||
|
- run: rustup override set ${{steps.toolchain.outputs.name}}
|
||||||
|
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
@@ -92,13 +90,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v3
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
|
|
||||||
- name: cargo doc --all --no-deps --document-private-items --all-features
|
- name: cargo doc --all --no-deps --document-private-items --all-features
|
||||||
@@ -112,21 +107,21 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Rust (${{ matrix.rust }})
|
- name: Install Rust (${{ matrix.rust }})
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
id: toolchain-thumbv6m
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
|
||||||
target: thumbv6m-none-eabi
|
target: thumbv6m-none-eabi
|
||||||
override: true
|
- run: rustup override set ${{steps.toolchain-thumbv6m.outputs.name}}
|
||||||
|
|
||||||
- name: Install Rust ARM64 (${{ matrix.rust }})
|
- name: Install Rust ARM64 (${{ matrix.rust }})
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
id: toolchain-aarch64
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
|
||||||
target: aarch64-unknown-none
|
target: aarch64-unknown-none
|
||||||
override: true
|
- run: rustup override set ${{steps.toolchain-aarch64.outputs.name}}
|
||||||
|
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
@@ -154,7 +149,6 @@ jobs:
|
|||||||
- vesta
|
- vesta
|
||||||
- mnt4_298
|
- mnt4_298
|
||||||
- mnt6_298
|
- mnt6_298
|
||||||
- mnt6_753
|
|
||||||
- ed_on_bls12_381
|
- ed_on_bls12_381
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout curves
|
- name: Checkout curves
|
||||||
@@ -168,11 +162,7 @@ jobs:
|
|||||||
path: r1cs-std
|
path: r1cs-std
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- name: Patch cargo.toml
|
- name: Patch cargo.toml
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user