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 5e6ce5b commit b9f440d
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,16 @@ jobs:
repository: rizinorg/rizin
ref: refs/heads/dev
path: rizin
- uses: actions/cache/restore@v4
id: cache-rizin
- name: ccache
uses: hendrikmuhs/[email protected]
with:
path: |
rizin/build
key: ${{ runner.os }}-rizin
create-symlink: true
- name: Build rizin
working-directory: rizin
run: |
pip install meson ninja PyYAML
meson setup --debug --buildtype=release --prefix=$(realpath $HOME/.local) build
ninja install -C build
- uses: actions/cache/save@v4
with:
path: |
rizin/build
key: ${{ steps.cache-rizin.outputs.cache-primary-key }}
- name: Setup Rust nightly
run: |
rustup toolchain install nightly --profile minimal
Expand Down

0 comments on commit b9f440d

Please sign in to comment.