commit 77296a718e0abc7977df15b9b846df2ffe7a9c74 parent 8d7e5e3398e3e2386c7b31461dbb06327264204b Author: Sean Enck <sean@ttypty.com> Date: Mon, 19 Jan 2026 19:18:25 -0500 ci shell file Diffstat:
| A | .ci.sh | | | 9 | +++++++++ |
| D | .ci.yml | | | 11 | ----------- |
2 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/.ci.sh b/.ci.sh @@ -0,0 +1,9 @@ +#!/bin/sh +ENGINE=podman +[ -n "$CONTAINER_ENGINE" ] && ENGINE="$CONTAINER_ENGINE" + +_ci() { + "$ENGINE" run --rm -v "$PWD:/app" -w /app alpine:latest sh -c "cd plugins/hphp && apk add make minify zip && make $1" +} + +_ci "CI=1" diff --git a/.ci.yml b/.ci.yml @@ -1,11 +0,0 @@ -# woodpecker ci yml file -when: - - event: manual - -steps: - - name: build - directory: plugins/hphp - image: docker.io/library/alpine:latest - commands: - - apk add make minify zip - - make CI=1