use same target for everything

This commit is contained in:
Corwin 2023-08-05 13:11:06 +01:00
parent 59efa29225
commit d4c1dc1730
No known key found for this signature in database

View file

@ -16,6 +16,8 @@ jobs:
name: Just CI
runs-on: ubuntu-20.04
steps:
- name: Set CARGO_TARGET_DIR
run: echo "CARGO_TARGET_DIR=$HOME/target" >> $GITHUB_ENV
- name: Install build tools
run: sudo apt-get update && sudo apt-get install build-essential libelf-dev zip -y
- name: Install Miri
@ -31,13 +33,9 @@ jobs:
~/.cargo/registry
~/.cargo/git
~/target
emulator/target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: install mgba-test-runner
run: cargo install --path emulator/test-runner --verbose
- name: Set CARGO_TARGET_DIR
run: echo "CARGO_TARGET_DIR=$HOME/target" >> $GITHUB_ENV
- uses: extractions/setup-just@v1
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1