bugfix
This commit is contained in:
parent
c24770a24c
commit
c0a3b5c170
|
@ -32,12 +32,12 @@ jobs:
|
|||
host: x86_64
|
||||
libc: glibc
|
||||
platform: linux/amd64
|
||||
test: 1
|
||||
test: 0
|
||||
- arch: i686
|
||||
host: i686
|
||||
libc: glibc
|
||||
platform: linux/386
|
||||
test: 1
|
||||
test: 0
|
||||
- arch: aarch64
|
||||
host: x86_64
|
||||
libc: glibc
|
||||
|
@ -74,7 +74,7 @@ jobs:
|
|||
mkdir -p /etc/xbps.d && cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
|
||||
sed -i 's|repo-default|repo-ci|g' /etc/xbps.d/*-repository-*.conf
|
||||
xbps-install -Syu || { xbps-install -yu xbps && xbps-install -yu; }
|
||||
xbps-install -y grep curl git node
|
||||
xbps-install -y grep curl git
|
||||
|
||||
- name: Create hostrepo and prepare masterdir
|
||||
run: |
|
||||
|
@ -85,6 +85,29 @@ jobs:
|
|||
mkdir -p /hostdir/binpkgs
|
||||
curl -so "/hostdir/binpkgs/${{ matrix.config.arch }}-repodata" "https://xbps.snaile.de/${{ matrix.config.arch }}-repodata" || true
|
||||
|
||||
- name: Get changed packages
|
||||
run: |
|
||||
tip="$(git rev-list -1 --parents HEAD)"
|
||||
case "$tip" in
|
||||
# This is a merge commit, pick last parent
|
||||
*" "*" "*) tip="${tip##* }" ;;
|
||||
# This is a non-merge commit, pick itself
|
||||
*) tip="${tip%% *}" ;;
|
||||
esac
|
||||
base="$(git rev-list -1 HEAD^)"
|
||||
|
||||
echo "$base $tip" >/tmp/revisions
|
||||
|
||||
echo -e '\x1b[32mChanged packages:\x1b[0m'
|
||||
|
||||
git diff-tree -r --no-renames --name-only --diff-filter=AM \
|
||||
"$base" "$tip" \
|
||||
-- 'srcpkgs/*/template' |
|
||||
cut -d/ -f 2 |
|
||||
xargs ./xbps-src sort-dependencies |
|
||||
tee /tmp/templates |
|
||||
sed "s/^/ /" >&2
|
||||
|
||||
- name: Build packages
|
||||
run: |
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue