]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
ci: add Solaris
authorSam James <sam@gentoo.org>
Sat, 13 Apr 2024 20:02:04 +0000 (21:02 +0100)
committerLasse Collin <lasse.collin@tukaani.org>
Mon, 3 Jun 2024 09:32:34 +0000 (12:32 +0300)
Inspired by https://github.com/RsyncProject/rsync/commit/3f2a38b01184cae9a931280b534acf5a3dae2e94.

It runs on Solaris 5.11 via a VirtualBox VM.

.github/workflows/solaris.yml [new file with mode: 0644]

diff --git a/.github/workflows/solaris.yml b/.github/workflows/solaris.yml
new file mode 100644 (file)
index 0000000..9b2f3e7
--- /dev/null
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: 0BSD
+
+name: Solaris
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+  workflow_dispatch:
+
+jobs:
+  solaris-test:
+    runs-on: ubuntu-latest
+    name: Test xz on Solaris
+    steps:
+    - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 #v4
+    - name: Test in Solaris
+      id: test
+      uses: vmactions/solaris-vm@548f790d1bc2b9342a76cbb47ddbb85875605559 #v1.0.2
+      with:
+        usesh: true
+        prepare: |
+          pkg install bash libtool automake gnu-m4 tree wget gcc autoconf //solaris/text/gawk pkg://solaris/text/gnu-diffutils pkg://solaris/text/gnu-grep pkg://solaris/text/gnu-sed
+        run: |
+          export LC_ALL=C LANG=C
+          uname -a
+          ./autogen.sh
+          ./configure --enable-werror
+          make
+          make check VERBOSE=1