Skip to content

Commit

Permalink
tweak yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sftcd committed Mar 10, 2024
1 parent 2c41093 commit 6b86b17
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ jobs:
mkdir -p "$HOME/.cache/sbuild"
mmdebstrap --variant=buildd --include=apt,ccache,ca-certificates \
--keyring=/usr/share/keyrings/debian-archive-keyring.gpg \
--customize-hook='chroot "$1" update-ccache-symlinks' \
unstable "$HOME/.cache/sbuild/unstable-amd64.tar"
testing "$HOME/.cache/sbuild/testing-amd64.tar"
ccache --zero-stats --max-size=10.0G
chmod a+X "$HOME" "$HOME/.cache"
Expand All @@ -54,7 +55,7 @@ jobs:
- name: Run sbuild
run: |
sed -i "1 s/([^)]*)/($(git describe --tags --always | sed 's/^[^0-9]*//;s/-/./g;s/_/./g')-$(date -u '+%Y%m%d.%H%M%S%N'))/" debian/changelog
sbuild -d unstable --chroot-mode=unshare --no-clean-source --no-run-lintian \
sbuild -d testing --chroot-mode=unshare --no-clean-source --no-run-lintian \
--extra-repository="deb [trusted=yes] https://github.com/defo-project/openssl/raw/packages/ ./" \
--dpkg-source-opts="-Zgzip -z1 --format=1.0 -sn" --build-dir="$HOME/apt_repo"
cd "$HOME/apt_repo"
Expand All @@ -64,8 +65,8 @@ jobs:
- name: Test packages
run: |
mmdebstrap --chrooted-customize-hook="curl -L 'https://github.com/defo-project/ech-dev-utils/archive/refs/heads/main.tar.gz' | tar xz; cd ech-dev-utils-main; PACKAGING=1 scripts/testapache.sh" \
--variant=essential --include=ncurses-term,ca-certificates,openssl,curl,bind9-dnsutils unstable /dev/null \
"deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] http://deb.debian.org/debian unstable main" \
--variant=essential --include=ncurses-term,ca-certificates,openssl,curl,bind9-dnsutils testing /dev/null \
"deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] http://deb.debian.org/debian testing main" \
"deb [trusted=yes] copy:/$HOME/apt_repo /"
- name: Upload apt repository
Expand Down

0 comments on commit 6b86b17

Please sign in to comment.