Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
fail-fast: false
matrix:
container:
- 'alpine:3.21'
- 'alpine:3.22'
- 'alpine:3.23'
- 'debian:12'
- 'debian:13'
- 'fedora:42'
Expand Down
6 changes: 3 additions & 3 deletions packages/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ MULTIBUILD_OPTS = \
--pckver $(PACKAGE_VERSION)

TARGETS_ALPINE = \
alpine-3.20 \
alpine-3.21 \
alpine-3.22
alpine-latest: alpine-3.22
alpine-3.22 \
alpine-3.23
alpine-latest: alpine-3.23

TARGETS_CENTOS_STREAM = \
centos-stream-8 centos-stream-9
Expand Down
18 changes: 12 additions & 6 deletions packages/multibuild.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#!/bin/bash
# Multi-platform build system
# Copyright (C) 2016-2024 Davide Madrisan <davide.madrisan@gmail.com>
# Copyright (C) 2016-2026 Davide Madrisan <davide.madrisan@gmail.com>

PROGNAME="${0##*/}"
PROGPATH="${0%/*}"
REVISION=3

die () { echo -e "$PROGNAME: error: $1" 1>&2; exit 1; }
msg () { echo "*** info: $1"; }
msg_debug () { echo "*** debug: $1"; }

docker_helpers="$PROGPATH/docker-shell-helpers/docker-shell-helpers.sh"

Expand All @@ -33,11 +34,10 @@ Where:
-u|--uid : user ID of the user 'developer' used for building the software

Supported distributions:
Alpine Linux 17-19
CentOS 5-8
Alpine Linux 21-23
CentOS Stream 8, 9
Debian 9-12
Fedora 33-38/rawhide
Debian 11-13
Fedora 41-43/rawhide
Rocky Linux 8, 9

Example:
Expand All @@ -53,7 +53,7 @@ __EOF
help () {
cat <<__EOF
$PROGNAME v$REVISION - containerized software build checker
Copyright (C) 2016-2023 Davide Madrisan <davide.madrisan@gmail.com>
Copyright (C) 2016-2026 Davide Madrisan <davide.madrisan@gmail.com>

__EOF

Expand Down Expand Up @@ -104,6 +104,9 @@ IFS="$IFS_save"
([ "$shared_disk_host" ] && [ "$shared_disk_container" ]) ||
die "bad syntax for --shared"

msg_debug "shared_disk_host is $shared_disk_host"
msg_debug "shared_disk_container is $shared_disk_container"

if [ "$usr_specfile" ]; then
specfile="$(readlink -f "$usr_specfile")"
case "$specfile" in
Expand All @@ -122,6 +125,9 @@ if [ "$usr_targetdir" ]; then
fi

msg "instantiating a new container based on $usr_os ..."
msg_debug "\
executing: container_create --random-name --os $usr_os \
--disk $shared_disk_host:$shared_disk_container"
container="$(container_create --random-name --os "$usr_os" \
--disk "$shared_disk_host:$shared_disk_container")" ||
die "failed to create a new container with os $usr_os"
Expand Down