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