diff options
| author | Robert Zakrzewski <zakrzewski.robert@gmail.com> | 2024-03-27 22:37:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-27 17:37:19 -0400 |
| commit | 111b3395a8bdb52e78cef2b2a2e2c9ad6f06719c (patch) | |
| tree | 78b2d907fadb464a247a5c7daa6bd54e97a90334 /.github/workflows | |
| parent | 2a88451d6b35306ce870b6489e2cbdbad94975fc (diff) | |
| download | rust-111b3395a8bdb52e78cef2b2a2e2c9ad6f06719c.tar.gz rust-111b3395a8bdb52e78cef2b2a2e2c9ad6f06719c.zip | |
Execute tests using a target defined as a JSON spec (#12)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/m68k.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/m68k.yml b/.github/workflows/m68k.yml index a8c6b614ce8..47a235b0218 100644 --- a/.github/workflows/m68k.yml +++ b/.github/workflows/m68k.yml @@ -88,6 +88,13 @@ jobs: sudo mount debian-m68k.img vm sudo cp $(which qemu-m68k-static) vm/usr/bin/ + - name: Build sample project with target defined as JSON spec + run: | + ./y.sh prepare --only-libcore --cross + ./y.sh build --target-triple m68k-unknown-linux-gnu --target ${{ github.workspace }}/target_specs/m68k-unknown-linux-gnu.json + ./y.sh cargo build --manifest-path=./tests/hello-world/Cargo.toml --target ${{ github.workspace }}/target_specs/m68k-unknown-linux-gnu.json + ./y.sh clean all + - name: Build run: | ./y.sh prepare --only-libcore --cross |
