use docker instead of podman

This commit is contained in:
Corwin 2024-04-29 01:57:32 +01:00
parent 4f84c0767f
commit 23ae3788f6
No known key found for this signature in database
2 changed files with 4 additions and 3 deletions

View file

@ -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:

View file

@ -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"