Skip to content

Commit

Permalink
Try cache
Browse files Browse the repository at this point in the history
  • Loading branch information
imbillow committed May 10, 2024
1 parent b9f440d commit 46c64f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,19 @@ jobs:
rustup toolchain install nightly --profile minimal
rustup default nightly
- uses: actions/checkout@v4
with:
path: rizin-rs
- uses: Swatinem/rust-cache@v2
with:
workspaces: "rizin-rs -> target"
cache-all-crates: "true"
- name: Build
working-directory: rizin-rs
run: |
export LD_LIBRARY_PATH=${HOME}/.local/lib/$(uname -m)-linux-gnu:${HOME}/.local/lib:${HOME}/.local/lib64:${LD_LIBRARY_PATH}
cargo build --verbose
- name: Run tests
working-directory: rizin-rs
run: |
export LD_LIBRARY_PATH=${HOME}/.local/lib/$(uname -m)-linux-gnu:${HOME}/.local/lib:${HOME}/.local/lib64:${LD_LIBRARY_PATH}
cargo test --verbose

0 comments on commit 46c64f9

Please sign in to comment.