fixing caching
This commit is contained in:
parent
8f6ec3d7e4
commit
820f7665a7
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -100,6 +100,13 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gems-
|
${{ runner.os }}-gems-
|
||||||
|
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: cargo-cache
|
||||||
|
key: ${{runner.os}}-cargo
|
||||||
|
restore-keys: |
|
||||||
|
${{runner.os}}-cargo
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
@ -110,7 +117,9 @@ jobs:
|
|||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: install
|
command: install
|
||||||
args: cargo-deadlinks
|
args: |
|
||||||
|
--root cargo-cache
|
||||||
|
cargo-deadlinks
|
||||||
|
|
||||||
- name: cargo doc
|
- name: cargo doc
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
@ -120,6 +129,8 @@ jobs:
|
|||||||
|
|
||||||
- name: cargo deadlinks
|
- name: cargo deadlinks
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
env:
|
||||||
|
PATH: cargo-cache;${{env.PATH}}
|
||||||
with:
|
with:
|
||||||
command: deadlinks
|
command: deadlinks
|
||||||
# We intentionally ignore fragments, as RTIC may generate fragments for various
|
# We intentionally ignore fragments, as RTIC may generate fragments for various
|
||||||
@ -129,6 +140,10 @@ jobs:
|
|||||||
- name: Test Site
|
- name: Test Site
|
||||||
working-directory: docs
|
working-directory: docs
|
||||||
run: |
|
run: |
|
||||||
|
# Install depedencies at our cache location
|
||||||
|
bundle config path vendor/bundle
|
||||||
|
bundle install
|
||||||
|
|
||||||
rake build
|
rake build
|
||||||
mv ../target/thumbv7em-none-eabihf/doc _site/stabilizer/firmware
|
mv ../target/thumbv7em-none-eabihf/doc _site/stabilizer/firmware
|
||||||
rake test
|
rake test
|
||||||
|
Loading…
Reference in New Issue
Block a user