mirror of
https://github.com/chronotope/chrono.git
synced 2025-09-29 22:11:59 +00:00
Merge pull request #609 from Milo123459/ci-caching
This commit is contained in:
commit
f4f5c2fa8d
1
.github/workflows/lint.yml
vendored
1
.github/workflows/lint.yml
vendored
@ -17,6 +17,7 @@ jobs:
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Lint
|
||||
run: bash ci/lint.sh
|
||||
- name: Run ShellCheck
|
||||
|
3
.github/workflows/test-release.yml
vendored
3
.github/workflows/test-release.yml
vendored
@ -46,6 +46,7 @@ jobs:
|
||||
with:
|
||||
toolchain: ${{ matrix.rust_version }}
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
|
||||
- name: Build and Test
|
||||
run: bash ci/github.sh
|
||||
@ -69,6 +70,7 @@ jobs:
|
||||
toolchain: stable
|
||||
target: thumbv6m-none-eabi
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
|
||||
- name: Build no_std lib
|
||||
run: cargo build --target thumbv6m-none-eabi --color=always
|
||||
@ -90,6 +92,7 @@ jobs:
|
||||
toolchain: stable
|
||||
target: wasm32-unknown-unknown
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v1
|
||||
|
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -55,6 +55,7 @@ jobs:
|
||||
toolchain: ${{ matrix.rust_version }}
|
||||
override: true
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Build and Test
|
||||
run: bash ci/github.sh
|
||||
env:
|
||||
@ -78,6 +79,7 @@ jobs:
|
||||
toolchain: stable
|
||||
target: thumbv6m-none-eabi
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
|
||||
- name: Build no_std lib
|
||||
run: cargo build --target thumbv6m-none-eabi --color=always
|
||||
@ -99,6 +101,7 @@ jobs:
|
||||
toolchain: stable
|
||||
target: wasm32-unknown-unknown
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v1
|
||||
@ -130,6 +133,8 @@ jobs:
|
||||
- name: Install cross
|
||||
run: bash ci/install-cross.sh
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
|
||||
- name: Build static library
|
||||
run: cross check --target ${{ matrix.target }}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user