this should allow package tests that check things like writability to succeed and have fewer skipped tests in CI. - switch to using the `void-LIBC-full` container - use `uchroot` instead of `ethereal` - simplify some scripts for this change
22 lines
290 B
Bash
Executable file
22 lines
290 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# build.sh
|
|
|
|
set -e
|
|
|
|
if [ "$1" != "$2" ]; then
|
|
arch="-a $2"
|
|
fi
|
|
|
|
if [ "$3" = 1 ]; then
|
|
test="-Q"
|
|
fi
|
|
|
|
PKGS=$(./xbps-src $test sort-dependencies $(cat /tmp/templates))
|
|
|
|
for pkg in ${PKGS}; do
|
|
./xbps-src -j$(nproc) -s $arch $test pkg "$pkg"
|
|
[ $? -eq 1 ] && exit 1
|
|
done
|
|
|
|
exit 0
|