Add raylib
All checks were successful
release / linux/aarch64 (pull_request) Successful in 1m55s
release / linux/armv7 (pull_request) Successful in 2m21s
release / linux/i686 (pull_request) Successful in 2m1s
release / linux/x86_64 (pull_request) Successful in 1m54s
release / android (pull_request) Successful in 2m48s
release / freebsd/x86_64 (pull_request) Successful in 5m0s
release / windows/i686 (pull_request) Successful in 2m13s
release / windows/x86_64 (pull_request) Successful in 2m9s

This commit is contained in:
pedro-bento 2026-10-22 22:25:59 +01:00
parent 8f52915701
commit be21d22bba
2 changed files with 8 additions and 2 deletions

View file

@ -18,9 +18,13 @@ if [ $# -lt 1 ]; then
echo "usage: $0 <output-file> [source-dir]" >&2
exit 2
fi
# Both paths are resolved before the cd into $WORK below: a relative output
# directory would otherwise be created under the work dir, and the artifact
# copy would look for it there.
OUT_DIR=$(dirname "$1")
mkdir -p "$OUT_DIR"
OUT=$(cd "$OUT_DIR" && pwd)/$(basename "$1")
OUT_DIR=$(cd "$OUT_DIR" && pwd)
OUT="$OUT_DIR/$(basename "$1")"
SRC=$(cd "${2:-.}" && pwd)
WORK="${FBSD_WORK:-${TMPDIR:-/tmp}/fbsd-ci}"

View file

@ -230,10 +230,12 @@ jobs:
mkdir -p dist
sh .forgejo/scripts/freebsd-build.sh dist/hate-no-d .
# Both artifacts come back from the guest (the VM builds its own
# hate-no-d.lua), so package dist/, not the checked-out copy.
- name: Package
run: |
sh .forgejo/scripts/make-archive.sh hate-no-d-freebsd-x86_64 tar.gz \
dist/hate-no-d ./hate-no-d.lua
dist/hate-no-d dist/hate-no-d.lua
- name: Attach to release
if: startsWith(github.ref, 'refs/tags/')