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