mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
use same target for everything
This commit is contained in:
parent
59efa29225
commit
d4c1dc1730
6
.github/workflows/build-and-test.yml
vendored
6
.github/workflows/build-and-test.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue