File tree Expand file tree Collapse file tree 3 files changed +63
-2
lines changed
Expand file tree Collapse file tree 3 files changed +63
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Makefile CI
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+
16+ - name : Install dependencies
17+ run : sudo apt update && sudo apt install -y asciidoc
18+
19+ - name : Run make
20+ run : make
Original file line number Diff line number Diff line change 1+ name : archlinux-repro
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ pkg :
16+ - archlinux-repro
17+ - which
18+
19+ steps :
20+ - uses : actions/checkout@v2
21+
22+ - name : Install dependencies
23+ run : sudo apt update && sudo apt install -y asciidoc systemd-container
24+
25+ - name : Install archlinux-repro
26+ run : sudo make install
27+
28+ - name : Fetch pkg
29+ run : docker run --rm -v $PWD/pkg:/var/cache/pacman/pkg archlinux pacman -Syw ${{ matrix.pkg }} --noconfirm
30+
31+ - name : Remove signatures
32+ run : sudo rm ./pkg/*.sig
33+
34+ - name : Test repro
35+ run : repro ./pkg/${{ matrix.pkg }}-*
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ if ((DEBUG)); then
88 set -x
99fi
1010
11+ # Ensure umask is set correctly
12+ umask 022
13+
1114BUILDDIRECTORY=/var/lib/repro
1215
1316KEYRINGCACHE=" ${BUILDDIRECTORY} /keyring"
@@ -347,7 +350,7 @@ function cmd_check(){
347350 DEVTOOLS_PKG= " devtools"
348351 if [[ -z " ${BUILDTOOL} " ]] || [[ " ${BUILDTOOL} " = makepkg ]]; then
349352 DEVTOOLS=" devtools-20210202-3-any"
350- DEVTOOLS_PKG=" $ARCHIVEURL /d/devtools/${DEVTOOLS} .pkg.tar${pkg ##* tar} "
353+ DEVTOOLS_PKG=" $ARCHIVEURL /d/devtools/${DEVTOOLS} .pkg.tar.zst "
351354 elif [[ " ${BUILDTOOL} " = devtools ]] ; then
352355 DEVTOOLS=" ${BUILDTOOL} -${BUILDTOOLVER} "
353356 DEVTOOLS_PKG=" $ARCHIVEURL /${BUILDTOOL: 0: 1} /${DEVTOOLS} .pkg.tar${pkg##* tar} "
@@ -381,7 +384,10 @@ function cmd_check(){
381384 bash << -__END__
382385shopt -s globstar
383386pacman -S asp --noconfirm --needed
384- asp checkout $pkgbase
387+ if ! asp checkout $pkgbase ; then
388+ echo "ERROR: Failed checkout $pkgbase " >&2
389+ exit 1
390+ fi
385391pushd $pkgbase
386392for rev in \$ (git rev-list --all -- repos/); do
387393 pkgbuild_checksum=\$ (git show \$ rev:trunk/PKGBUILD | sha256sum -b)
You can’t perform that action at this time.
0 commit comments