CI: added FreeBSD build
authorAndrew Tridgell <andrew@tridgell.net>
Sat, 6 Apr 2024 21:11:31 +0000 (07:11 +1000)
committerAndrew Tridgell <andrew@tridgell.net>
Sat, 6 Apr 2024 22:07:50 +0000 (08:07 +1000)
.github/workflows/freebsd-build.yml [new file with mode: 0644]

diff --git a/.github/workflows/freebsd-build.yml b/.github/workflows/freebsd-build.yml
new file mode 100644 (file)
index 0000000..8ec2e0f
--- /dev/null
@@ -0,0 +1,23 @@
+name: Test rsync on FreeBSD
+
+on: [push]
+
+jobs:
+  test:
+    runs-on: ubuntu-latest
+    name: Test rsync on FreeBSD
+    steps:
+    - uses: actions/checkout@v4
+    - name: Test in FreeBSD
+      id: test
+      uses: vmactions/freebsd-vm@v1
+      with:
+        usesh: true
+        prepare: |
+          pkg install -y bash autotools m4 devel/xxhash zstd liblz4 wget python3 archivers/liblz4
+        run: |
+          freebsd-version
+          ./configure --with-rrsync -disable-zstd --disable-md2man --disable-xxhash --disable-lz4
+          make
+          ./rsync --version
+          ./rsync-ssl --no-motd download.samba.org::rsyncftp/ || true