mirror of
https://github.com/chronotope/chrono.git
synced 2025-10-02 23:36:17 +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:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: bash ci/lint.sh
|
run: bash ci/lint.sh
|
||||||
- name: Run ShellCheck
|
- name: Run ShellCheck
|
||||||
|
3
.github/workflows/test-release.yml
vendored
3
.github/workflows/test-release.yml
vendored
@ -46,6 +46,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.rust_version }}
|
toolchain: ${{ matrix.rust_version }}
|
||||||
override: true
|
override: true
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
|
||||||
- name: Build and Test
|
- name: Build and Test
|
||||||
run: bash ci/github.sh
|
run: bash ci/github.sh
|
||||||
@ -69,6 +70,7 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: thumbv6m-none-eabi
|
target: thumbv6m-none-eabi
|
||||||
override: true
|
override: true
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
|
||||||
- name: Build no_std lib
|
- name: Build no_std lib
|
||||||
run: cargo build --target thumbv6m-none-eabi --color=always
|
run: cargo build --target thumbv6m-none-eabi --color=always
|
||||||
@ -90,6 +92,7 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: wasm32-unknown-unknown
|
target: wasm32-unknown-unknown
|
||||||
override: true
|
override: true
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
|
||||||
- name: Install node
|
- name: Install node
|
||||||
uses: actions/setup-node@v1
|
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 }}
|
toolchain: ${{ matrix.rust_version }}
|
||||||
override: true
|
override: true
|
||||||
|
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
- name: Build and Test
|
- name: Build and Test
|
||||||
run: bash ci/github.sh
|
run: bash ci/github.sh
|
||||||
env:
|
env:
|
||||||
@ -78,6 +79,7 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: thumbv6m-none-eabi
|
target: thumbv6m-none-eabi
|
||||||
override: true
|
override: true
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
|
||||||
- name: Build no_std lib
|
- name: Build no_std lib
|
||||||
run: cargo build --target thumbv6m-none-eabi --color=always
|
run: cargo build --target thumbv6m-none-eabi --color=always
|
||||||
@ -99,6 +101,7 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: wasm32-unknown-unknown
|
target: wasm32-unknown-unknown
|
||||||
override: true
|
override: true
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
|
||||||
- name: Install node
|
- name: Install node
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
@ -130,6 +133,8 @@ jobs:
|
|||||||
- name: Install cross
|
- name: Install cross
|
||||||
run: bash ci/install-cross.sh
|
run: bash ci/install-cross.sh
|
||||||
|
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
|
||||||
- name: Build static library
|
- name: Build static library
|
||||||
run: cross check --target ${{ matrix.target }}
|
run: cross check --target ${{ matrix.target }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user