mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
use docker instead of podman
This commit is contained in:
parent
4f84c0767f
commit
23ae3788f6
3
.github/workflows/build-site.yml
vendored
3
.github/workflows/build-site.yml
vendored
|
@ -12,7 +12,6 @@ jobs:
|
|||
name: Build website
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: gacts/install-podman@v1
|
||||
- name: Set CARGO_TARGET_DIR
|
||||
run: echo "CARGO_TARGET_DIR=$HOME/target" >> $GITHUB_ENV
|
||||
- name: Install build tools
|
||||
|
@ -36,7 +35,7 @@ jobs:
|
|||
- name: Setup wasm
|
||||
run: just setup-cargo-wasm
|
||||
- name: Build website
|
||||
run: just build-site
|
||||
run: just build-site podman_command=docker
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
|
|
4
justfile
4
justfile
|
@ -1,6 +1,8 @@
|
|||
export CARGO_TARGET_DIR := env_var_or_default('CARGO_TARGET_DIR', justfile_directory() + "/target")
|
||||
CLIPPY_ARGUMENTS := "-Dwarnings -Dclippy::all -Aclippy::empty-loop"
|
||||
|
||||
podman_command := "podman"
|
||||
|
||||
build: build-roms
|
||||
|
||||
build-debug:
|
||||
|
@ -103,7 +105,7 @@ build-website-backtrace:
|
|||
build-mgba-wasm:
|
||||
rm -rf website/agb/src/app/mgba/vendor
|
||||
mkdir website/agb/src/app/mgba/vendor
|
||||
podman build --file website/mgba-wasm/BuildMgbaWasm --output=website/agb/src/app/mgba/vendor .
|
||||
{{podman_command}} build --file website/mgba-wasm/BuildMgbaWasm --output=website/agb/src/app/mgba/vendor .
|
||||
|
||||
build-combo-rom-site:
|
||||
just _build-rom "examples/combo" "AGBGAMES"
|
||||
|
|
Loading…
Reference in a new issue