mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Check linker script consistency using just ci
This commit is contained in:
parent
14f42670d2
commit
566b43b85b
14
.github/workflows/linker-script.yml
vendored
14
.github/workflows/linker-script.yml
vendored
|
@ -1,14 +0,0 @@
|
||||||
name: Enforce gba.ld consistency
|
|
||||||
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
steps:
|
|
||||||
- name: Check out repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Check if gba.ld files are identical
|
|
||||||
run: find -type f -name gba.ld -print0 | xargs -0 -n1 cmp -- agb/gba.ld
|
|
||||||
- name: Check if gba_mb.ld files are identical
|
|
||||||
run: find -type f -name gba_mb.ld -print0 | xargs -0 -n1 cmp -- agb/gba_mb.ld
|
|
6
justfile
6
justfile
|
@ -39,7 +39,11 @@ run-game game:
|
||||||
run-game-debug game:
|
run-game-debug game:
|
||||||
(cd "examples/{{game}}" && cargo run)
|
(cd "examples/{{game}}" && cargo run)
|
||||||
|
|
||||||
ci: build-debug clippy test build-release test-release doctest-agb build-roms build-book
|
check-linker-script-consistency:
|
||||||
|
find -type f -name gba.ld -print0 | xargs -0 -n1 cmp -- agb/gba.ld
|
||||||
|
find -type f -name gba_mb.ld -print0 | xargs -0 -n1 cmp -- agb/gba_mb.ld
|
||||||
|
|
||||||
|
ci: check-linker-script-consistency build-debug clippy test build-release test-release doctest-agb build-roms build-book
|
||||||
|
|
||||||
build-roms:
|
build-roms:
|
||||||
just _build-rom "examples/the-purple-night" "PURPLENIGHT"
|
just _build-rom "examples/the-purple-night" "PURPLENIGHT"
|
||||||
|
|
Loading…
Reference in a new issue