ci changes remove nightly asides from fmt

This commit is contained in:
gluaxspeed 2021-07-14 13:26:32 -07:00
parent 64ad6a67f3
commit 1168354a5c
2 changed files with 26 additions and 32 deletions

View File

@ -60,21 +60,6 @@ jobs:
- clear_environment:
cache_key: leo-stable-cache
rust-nightly:
docker:
- image: howardwu/snarkos-ci:2021-03-25
resource_class: xlarge
steps:
- checkout
- setup_environment:
cache_key: leo-nightly-cache
- run:
name: Build and test
no_output_timeout: 30m
command: cargo test --all
- clear_environment:
cache_key: leo-nightly-cache
leo-executable:
docker:
- image: cimg/rust:1.52.1
@ -215,7 +200,6 @@ workflows:
main-workflow:
jobs:
- rust-stable
- rust-nightly
- leo-executable
- leo-new:
requires:

View File

@ -69,23 +69,41 @@ jobs:
command: clippy
args: --all-features --examples --all --benches
test-package:
test-package-linux:
name: Test Package
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- nightly
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Rust (${{ matrix.rust }})
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
toolchain: stable
override: true
- name: Install cargo-all-features
run: |
cargo install cargo-all-features
- name: Test
run: |
cd package
cargo test-all-features
test-package-windows:
name: Test Package
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install cargo-all-features
@ -112,14 +130,6 @@ jobs:
override: true
components: rustfmt
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --all --features ci_skip
env:
CARGO_INCREMENTAL: "0"
- name: Install dependencies for code coverage
run: |
sudo apt-get update