summaryrefslogtreecommitdiffstats
path: root/.github/workflows/linux.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 11:26:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 11:26:17 +0000
commit5df6c2aefebe3d2abcc939a88e294876d59f03ca (patch)
tree63fb332a0f21ddb91cb789c80cf64e134d373463 /.github/workflows/linux.yml
parentInitial commit. (diff)
downloadpo4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.tar.xz
po4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.zip
Adding upstream version 0.72.upstream/0.72
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/linux.yml')
-rw-r--r--.github/workflows/linux.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
new file mode 100644
index 0000000..b731c62
--- /dev/null
+++ b/.github/workflows/linux.yml
@@ -0,0 +1,40 @@
+# This workflow will build po4a on linux using Module::Build
+name: Build on Linux CI
+
+on:
+ push:
+ branches:
+ - '*'
+ tags-ignore:
+ - '*'
+ pull_request:
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Install Debian dependencies
+ run: |
+ sudo apt update
+ sudo apt install -y liblocale-gettext-perl libtext-wrapi18n-perl libunicode-linebreak-perl libpod-parser-perl libtest-pod-perl libyaml-tiny-perl libsyntax-keyword-try-perl
+ sudo apt install -y cpanminus gettext docbook-xml docbook-xsl docbook xsltproc
+ sudo apt install -y texlive-binaries texlive-latex-base opensp libsgmls-perl
+ - name: Install CPAN dependencies
+ run: |
+ cpanm Locale::gettext
+ cpanm http://search.cpan.org/CPAN/authors/id/R/RA/RAAB/SGMLSpm-1.1.tar.gz
+ cpanm Text::WrapI18N
+ cpanm Unicode::GCString
+
+ cpanm -v --installdeps --notest .
+
+ - name: Build
+ run: |
+ perl Build.PL
+ COLUMNS=120 ./Build verbose=1
+
+ - name: Test
+ run: ./Build test verbose=1