Skip to content

Commit 9d4b273

Browse files
committed
ci updates
1 parent 00b1cbb commit 9d4b273

4 files changed

Lines changed: 256 additions & 100 deletions

File tree

.github/workflows/ci/ppc64-be-build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ docker run --rm --platform linux/ppc64 \
3636
-e FPC_VERSION \
3737
-e FPC_TARGET \
3838
-e MAKE_BUILD_BACKEND \
39+
-e MAKE_PACKAGE_SCOPE \
40+
-e LAZARUS_BRANCH \
41+
-e LAZARUS_REPO \
3942
-e CI_DEBUG \
4043
-e DEBIAN_FRONTEND=noninteractive \
4144
-e QEMU_CPU=power8 \

.github/workflows/install-fpc-lazarus.sh

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@
2020
# LAZARUS_REPO git URL
2121
# MAKE_CMD 'make' on Linux/Windows/macOS, 'gmake' on BSD/Solaris
2222
# (auto-detected if unset)
23-
# MAKE_BUILD_BACKEND auto | lazbuild | fpc
24-
# fpc — install FPC only; skip Lazarus/lazbuild
25-
# lazbuild | auto — also clone Lazarus and build lazbuild
26-
# (auto here always installs Lazarus; make.pas auto probes
27-
# lazbuild on PATH at runtime and may still choose fpc)
23+
# MAKE_BUILD_BACKEND lazbuild | fpc (default: fpc)
24+
# fpc — install FPC only; skip Lazarus/lazbuild
25+
# lazbuild — also clone Lazarus and build lazbuild
2826
#
2927
# Outputs (appended to $GITHUB_PATH if set):
3028
# $INSTALL_PREFIX/bin and $LAZARUS_DIR are added to PATH
@@ -41,12 +39,11 @@ source "$INSTALL_SCRIPT_DIR/ci/shared/common.sh"
4139

4240
: "${FPC_VERSION:?FPC_VERSION is required (e.g. 3.2.2)}"
4341
: "${FPC_TARGET:?FPC_TARGET is required (e.g. x86_64-linux)}"
44-
: "${MAKE_BUILD_BACKEND:?MAKE_BUILD_BACKEND is required (lazbuild|fpc|auto)}"
45-
case "$MAKE_BUILD_BACKEND" in
46-
fpc) INSTALL_LAZARUS=0 ;;
47-
auto|lazbuild) INSTALL_LAZARUS=1 ;;
42+
case "${MAKE_BUILD_BACKEND:-fpc}" in
43+
fpc) INSTALL_LAZARUS=0 ;;
44+
lazbuild) INSTALL_LAZARUS=1 ;;
4845
*)
49-
echo "unknown MAKE_BUILD_BACKEND: $MAKE_BUILD_BACKEND" >&2
46+
echo "unknown MAKE_BUILD_BACKEND: $MAKE_BUILD_BACKEND (expected lazbuild|fpc)" >&2
5047
exit 1
5148
;;
5249
esac
@@ -263,7 +260,7 @@ fi
263260
# ci_fpc_info_probe instead of letting one emulation hiccup fail the install.
264261
ci_fpc_info_probe -iV
265262

266-
# ── Build Lazarus from source (lazbuild | auto only) ────────────────
263+
# ── Build Lazarus from source (lazbuild backend only) ────────────────
267264
#
268265
# When INSTALL_LAZARUS=1, clone Lazarus and build lazbuild (~1–2 min).
269266
# Packaged Lazarus on Linux/Windows pulls in the full IDE; we only need

0 commit comments

Comments
 (0)