Skip to content

Commit

Permalink
Make sure to upgrade po4a during github CI to latest version when pos…
Browse files Browse the repository at this point in the history
…sible.

This ensure we test with later versions of po4a if it is available, to
detect problems with newer po4a versions early.
  • Loading branch information
petterreinholdtsen committed Nov 4, 2023
1 parent 507a367 commit 5a93b95
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
eatmydata ./scripts/travis-install-build-deps.sh
eatmydata curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
sudo eatmydata apt install --yes ./po4a_0.67-2_all.deb
sudo eatmydata apt --quiet --yes upgrade
cd src
eatmydata ./autogen.sh
eatmydata ./configure --with-realtime=uspace --disable-check-runtime-deps
Expand Down Expand Up @@ -61,6 +62,7 @@ jobs:
sudo eatmydata apt-get install -y clang
eatmydata curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
sudo eatmydata apt install --yes ./po4a_0.67-2_all.deb
sudo eatmydata apt --quiet --yes upgrade
cd src
eatmydata ./autogen.sh
CC=clang CXX=clang++ eatmydata ./configure --with-realtime=uspace --disable-check-runtime-deps
Expand All @@ -85,7 +87,8 @@ jobs:
./scripts/travis-install-build-deps.sh
sudo apt-get install -y eatmydata
curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
sudo apt install --yes ./po4a_0.67-2_all.deb
sudo eatmydata apt install --yes ./po4a_0.67-2_all.deb
sudo eatmydata apt --quiet --yes upgrade
cd src
eatmydata ./autogen.sh
eatmydata ./configure --with-realtime=uspace --disable-check-runtime-deps --enable-build-documentation=html
Expand Down Expand Up @@ -116,7 +119,10 @@ jobs:
set -e
set -x
apt-get --quiet update
apt-get --yes --quiet install eatmydata
apt-get --yes --quiet install eatmydata curl
eatmydata curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
eatmydata apt install --yes ./po4a_0.67-2_all.deb
eatmydata apt --quiet --yes upgrade
# Install stuff needed to check out the linuxcnc repo and turn it into a debian source package.
eatmydata apt-get --yes --quiet install --no-install-suggests git lsb-release python3 devscripts
Expand Down Expand Up @@ -158,8 +164,6 @@ jobs:
eatmydata debian/update-dch-from-git
eatmydata scripts/get-version-from-git | sed -re 's/^v(.*)$/\1/' >| VERSION; cat VERSION
eatmydata git diff
eatmydata curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
eatmydata apt install --yes ./po4a_0.67-2_all.deb
eatmydata apt-get --yes --quiet build-dep --arch-only .
eatmydata debuild -us -uc --build=any
- name: Test debian packages
Expand Down Expand Up @@ -199,7 +203,10 @@ jobs:
set -e
set -x
apt-get --quiet update
apt-get --yes --quiet install eatmydata
apt-get --yes --quiet install eatmydata curl
eatmydata curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
eatmydata apt install --yes ./po4a_0.67-2_all.deb
eatmydata apt --quiet --yes upgrade
# Install stuff needed to check out the linuxcnc repo and turn it into a debian source package.
eatmydata apt-get --yes --quiet install --no-install-suggests git lsb-release python3 devscripts
Expand Down Expand Up @@ -241,8 +248,6 @@ jobs:
eatmydata debian/update-dch-from-git
eatmydata scripts/get-version-from-git | sed -re 's/^v(.*)$/\1/' >| VERSION; cat VERSION
eatmydata git diff
eatmydata curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
eatmydata apt install --yes ./po4a_0.67-2_all.deb
eatmydata apt-get --yes --quiet build-dep --indep-only .
eatmydata debuild -us -uc --build=all
- name: Test install debian packages
Expand Down

0 comments on commit 5a93b95

Please sign in to comment.