Merge pull request #263 from dbachelder/fix/native-build-cache
ci: cache native Rust builds per platform
This commit is contained in:
commit
e5cedfa81b
1 changed files with 7 additions and 0 deletions
7
.github/workflows/build-native.yml
vendored
7
.github/workflows/build-native.yml
vendored
|
|
@ -49,6 +49,13 @@ jobs:
|
|||
with:
|
||||
targets: ${{ matrix.target }}
|
||||
|
||||
- name: Cache Rust build artifacts
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
shared-key: native-${{ matrix.platform }}
|
||||
workspaces: |
|
||||
native -> target
|
||||
|
||||
- name: Install cross-compilation tools (Linux ARM64)
|
||||
if: matrix.cross
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue