Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci-caching #609

Merged
merged 4 commits into from Oct 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-release.yml
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 }}

Expand Down