Package workstation tools, reuse emulator sessions, and derive build versions
This commit is contained in:
@@ -10,7 +10,9 @@ help:
|
||||
'make clean-preview Show obsolete build/test directories and Rust output selected for cleanup' \
|
||||
'make clean Remove that output; keep current images, latest tests, caches and releases' \
|
||||
'make clean-test Test cleanup protections using small disposable fixtures' \
|
||||
'make workstation Build native Linux software/cartridge and QEMU command-line tools' \
|
||||
'make workstation Build the Arch fds-tools package' \
|
||||
'make workstation-install Install the Arch fds-tools package with pacman' \
|
||||
'make workstation-binaries Build native binaries on generic Linux' \
|
||||
'make workstation-test Verify software builds, multi-partition images and file write/readback' \
|
||||
'make emulator-test Boot FDS and test cartridge hotplug with the public emulator' \
|
||||
'make bootstrap Prepare Arch x86_64 host and Void build container' \
|
||||
@@ -91,6 +93,7 @@ smoke-test:
|
||||
./tools/smoke-test 2>&1 | tee out/logs/smoke-test.log
|
||||
|
||||
check:
|
||||
python3 tests/integration/version-checks.py
|
||||
./tests/integration/m0-checks
|
||||
cargo fmt --all -- --check
|
||||
$(MAKE) clean-test
|
||||
@@ -241,14 +244,23 @@ release-contract-test:
|
||||
@mkdir -p out/logs
|
||||
python3 tests/integration/m12-release-build.py 2>&1 | tee out/logs/release-contract-checks.log
|
||||
|
||||
.PHONY: workstation workstation-test emulator-test
|
||||
.PHONY: workstation workstation-install workstation-binaries workstation-package-test workstation-test emulator-test
|
||||
workstation:
|
||||
@mkdir -p out/logs
|
||||
./tools/build-workstation 2>&1 | tee out/logs/workstation-build.log
|
||||
|
||||
workstation-test: workstation
|
||||
workstation-package-test: workstation
|
||||
python3 tests/integration/arch-package.py
|
||||
|
||||
workstation-install: workstation
|
||||
./tools/install-workstation
|
||||
|
||||
workstation-binaries:
|
||||
./tools/build-workstation-binaries
|
||||
|
||||
workstation-test: workstation-binaries
|
||||
cargo test --locked --offline --target $$(rustc -vV | sed -n 's/^host: //p') -p fds-common -p fds-burn -p fds-software -p fds-workstation
|
||||
python3 tests/integration/workstation-images.py --cli out/workstation/fds-cartridge --image-tool-runner tools/in-image-tools --xbps-tool-runner tools/in-void --xbps-bin "$(CURDIR)/.host/xbps/usr/bin" 2>&1 | tee out/logs/workstation-images.log
|
||||
|
||||
emulator-test: workstation
|
||||
emulator-test: workstation-binaries
|
||||
python3 tests/integration/workstation-emulator.py --cli out/workstation/fds-emulator --qemu-runner tools/in-void 2>&1 | tee out/logs/workstation-emulator.log
|
||||
|
||||
Reference in New Issue
Block a user