11# po4a Version 0.57 in ubuntu 20 do not write translated adoc as
2- # UTF-8. Need at least version 0.62 to fix it. Using version 0.66 to
3- # also get fix for empty asciidoc table cells.
2+ # UTF-8. Need at least version 0.62 to fix it.
3+ # Motivations to update:
4+ # 0.66 to also get fix for empty asciidoc table cells.
5+ # 0.67 for hard newlines ( +\n) in paragraphs
46name : Build CI
57
68on :
2830 run : |
2931 ./scripts/travis-install-build-deps.sh
3032 sudo apt-get install -y eatmydata
31- curl -O http ://snapshot.debian.org/archive/debian/20220102T084145Z /pool/main/p/po4a/po4a_0.66-1_all .deb
32- sudo dpkg -i po4a_0.66-1_all .deb
33+ curl -O https ://snapshot.debian.org/archive/debian/20220716T154603Z /pool/main/p/po4a/po4a_0.67-2_all .deb
34+ sudo apt install ./ po4a_0.67-2_all .deb
3335 cd src
3436 eatmydata ./autogen.sh
3537 eatmydata ./configure --with-realtime=uspace --disable-check-runtime-deps
5355 run : |
5456 ./scripts/travis-install-build-deps.sh
5557 sudo apt-get install -y eatmydata
56- curl -O http ://snapshot.debian.org/archive/debian/20220102T084145Z /pool/main/p/po4a/po4a_0.66-1_all .deb
57- sudo dpkg -i po4a_0.66-1_all .deb
58+ curl -O https ://snapshot.debian.org/archive/debian/20220716T154603Z /pool/main/p/po4a/po4a_0.67-2_all .deb
59+ sudo apt install ./ po4a_0.67-2_all .deb
5860 cd src
5961 eatmydata ./autogen.sh
6062 eatmydata ./configure --with-realtime=uspace --disable-check-runtime-deps --enable-build-documentation=html
@@ -80,12 +82,26 @@ jobs:
8082 git fetch --recurse-submodules=no https://github.com/linuxcnc/linuxcnc refs/tags/*:refs/tags/*
8183 ./scripts/travis-install-build-deps.sh
8284 sudo apt-get install -y eatmydata
83- curl -O http ://snapshot.debian.org/archive/debian/20220102T084145Z /pool/main/p/po4a/po4a_0.66-1_all .deb
84- sudo dpkg -i po4a_0.66-1_all .deb
85+ curl -O https ://snapshot.debian.org/archive/debian/20220716T154603Z /pool/main/p/po4a/po4a_0.67-2_all .deb
86+ sudo apt install ./ po4a_0.67-2_all .deb
8587 codename=$(lsb_release -cs)
8688 dch --maintmaint --distribution $codename "GitHub test package."
8789 eatmydata debian/configure
8890 eatmydata debuild -us -uc
8991 sudo apt-get install ../*.deb
90- eatmydata ./scripts/runtests -p tests/
91- eatmydata lintian --info --display-info --pedantic --display-experimental ../*.deb
92+ ./scripts/runtests -p tests/
93+ eatmydata lintian --info --display-info --pedantic --display-experimental ../linuxcnc*.changes
94+ mkdir built-debs
95+ cp ../linuxcnc*_* built-debs/
96+ - name : Archive generated PDF files
97+ uses : actions/upload-artifact@v3
98+ with :
99+ name : PDFs
100+ retention-days : 7
101+ path : docs/*.pdf
102+ - name : Archive generated Debian packages
103+ uses : actions/upload-artifact@v3
104+ with :
105+ name : debs
106+ retention-days : 7
107+ path : built-debs/*
0 commit comments