From d4c1dc1730ffacca383b51f37a879abc4bb005d1 Mon Sep 17 00:00:00 2001 From: Corwin Date: Sat, 5 Aug 2023 13:11:06 +0100 Subject: [PATCH] use same target for everything --- .github/workflows/build-and-test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 2f05c394..5b328e86 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -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