Update ci.yml

This commit is contained in:
Sunli 2021-04-23 16:09:23 +08:00
parent e11947fa6a
commit 2c22c61c31

View File

@ -109,24 +109,24 @@ jobs:
run: cargo clean run: cargo clean
working-directory: ./examples working-directory: ./examples
build-nightly: # build-nightly:
name: Build nightly - Rust (${{ matrix.rust }}) on ${{ matrix.os }} # name: Build nightly - Rust (${{ matrix.rust }}) on ${{ matrix.os }}
runs-on: ${{ matrix.os }} # runs-on: ${{ matrix.os }}
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
include: # include:
- { rust: nightly-2020-09-21, os: ubuntu-latest } # - { rust: nightly-2020-09-21, os: ubuntu-latest }
steps: # steps:
- name: Checkout # - name: Checkout
uses: actions/checkout@v2 # uses: actions/checkout@v2
with: # with:
submodules: true # submodules: true
- uses: actions-rs/toolchain@v1 # - uses: actions-rs/toolchain@v1
with: # with:
toolchain: ${{ matrix.rust }} # toolchain: ${{ matrix.rust }}
override: true # override: true
- name: Build on nightly with all features # - name: Build on nightly with all features
run: cargo build --all-features # run: cargo build --all-features
- name: Build on nightly # - name: Build on nightly
run: cargo build --all --verbose # run: cargo build --all --verbose