mirror of https://github.com/stjepang/smol
Add cross check
This commit is contained in:
parent
32721399ff
commit
3c763c7e63
|
@ -51,22 +51,22 @@ jobs:
|
|||
command: test
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set current week of the year in environnement
|
||||
run: echo "::set-env name=CURRENT_WEEK::$(date +%V)"
|
||||
|
||||
- name: Install nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install cross
|
||||
run: cargo install cross || true
|
||||
- name: Set current week of the year in environnement
|
||||
run: echo "::set-env name=CURRENT_WEEK::$(date +%V)"
|
||||
|
||||
- name: check
|
||||
run: cross check --target ${{ matrix.target }}
|
||||
- name: Install nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
|
||||
- name: test
|
||||
run: cross test --target ${{ matrix.target }}
|
||||
- name: Install cross
|
||||
run: cargo install cross || true
|
||||
|
||||
- name: check
|
||||
run: cross check --target ${{ matrix.target }}
|
||||
|
||||
- name: test
|
||||
run: cross test --target ${{ matrix.target }}
|
||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
|||
toolchain: stable
|
||||
profile: minimal
|
||||
components: clippy
|
||||
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Reference in New Issue