CI: added Solaris build
authorCharalampos Mitrodimas <charmitro@posteo.net>
Mon, 8 Apr 2024 08:40:02 +0000 (11:40 +0300)
committerAndrew Tridgell <andrew@tridgell.net>
Mon, 8 Apr 2024 21:34:26 +0000 (07:34 +1000)
Signed-off-by: Charalampos Mitrodimas <charmitro@posteo.net>
.github/workflows/solaris-build.yml [new file with mode: 0644]

diff --git a/.github/workflows/solaris-build.yml b/.github/workflows/solaris-build.yml
new file mode 100644 (file)
index 0000000..4ef3b2c
--- /dev/null
@@ -0,0 +1,27 @@
+name: Test rsync on Solaris
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+jobs:
+  solaris-test:
+    runs-on: ubuntu-latest
+    name: Test rsync on Solaris
+    steps:
+    - uses: actions/checkout@v4
+    - name: Test in Solaris
+      id: test
+      uses: vmactions/solaris-vm@v1
+      with:
+        usesh: true
+        prepare: |
+          pkg install bash automake gnu-m4 wget pkg://solaris/runtime/python-35 autoconf gcc
+        run: |
+          uname -a
+          ./configure --with-rrsync -disable-zstd --disable-md2man --disable-xxhash --disable-lz4
+          make
+          ./rsync --version
+          ./rsync-ssl --no-motd download.samba.org::rsyncftp/ || true