set target dir

This commit is contained in:
Corwin Kuiper 2021-05-30 20:14:11 +01:00
parent f10e580cb8
commit 3773fbf3c4

View file

@ -12,6 +12,8 @@ env:
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env:
CARGO_TARGET_DIR: ~/target
steps: steps:
- name: Install build tools - name: Install build tools
run: sudo apt-get update && sudo apt-get install build-essential binutils-arm-none-eabi -y run: sudo apt-get update && sudo apt-get install build-essential binutils-arm-none-eabi -y
@ -28,7 +30,7 @@ jobs:
path: | path: |
~/.cargo/registry ~/.cargo/registry
~/.cargo/git ~/.cargo/git
agb/target ~/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