Skip to content

Commit

Permalink
Update CI package script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jochen Sprickerhof committed Nov 19, 2024
1 parent 72f99f4 commit 42deacf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
workflow_dispatch:
push:
schedule:
- cron: '30 5 * * *'
- cron: '00 6 * * *'

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand All @@ -22,14 +22,13 @@ jobs:
git -c user.name=Github -c user.email=none merge upstream/trunk
- name: Cache ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /home/runner/.cache/ccache
key: ccache

- name: Prepare build environment
run: |
sudo add-apt-repository -y ppa:v-launchpad-jochen-sprickerhof-de/sbuild
sudo DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends sbuild mmdebstrap debian-archive-keyring ccache uidmap
mkdir -p "$HOME/.cache/sbuild"
Expand Down Expand Up @@ -64,7 +63,7 @@ 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" \
mmdebstrap --verbose --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,apache2,curl testing /dev/null \
"deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] http://deb.debian.org/debian testing main" \
"deb [trusted=yes] https://github.com/defo-project/openssl/raw/packages/ /" \
Expand Down

0 comments on commit 42deacf

Please sign in to comment.