Skip to content

Commit

Permalink
Attempt to fix test step on self-hosted runner.
Browse files Browse the repository at this point in the history
Create a temporary home directory for the test container, and purge it
afterwards. While I was at it, also remove the podman container after
using.
  • Loading branch information
nikolaszimmermann committed Sep 27, 2024
1 parent d347129 commit 1117ce3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/wkdev-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ jobs:
run: |
CONTAINER="wkdev-$(date +%s)"
source ./register-sdk-on-host.sh
wkdev-create --create-home --verbose --attach --no-pull -n ${CONTAINER}
wkdev-create --create-home --home ${HOME}/${CONTAINER}-home --verbose --attach --no-pull --name ${CONTAINER}
wkdev-enter -n ${CONTAINER} --exec -- git clone --depth=1 https://github.com/WebKit/WebKit.git
wkdev-enter -n ${CONTAINER} --exec -- ./WebKit/Tools/Scripts/build-webkit --wpe --release --generate-project-only
wkdev-enter -n ${CONTAINER} --exec -- ./WebKit/Tools/Scripts/build-webkit --gtk --release --generate-project-only
podman stop ${CONTAINER} || true
podman rm ${CONTAINER} || true
rm -rf ${HOME}/${CONTAINER}-home
deploy:
runs-on: self-hosted
Expand Down

0 comments on commit 1117ce3

Please sign in to comment.