2c0061ee0255384d64519943c04eb930d4c31f83
[rsync.git] / .github / workflows / freebsd-build.yml
1 name: Test rsync on FreeBSD
2
3 on:
4   push:
5     branches: [ master ]
6   pull_request:
7     branches: [ master ]
8
9 jobs:
10   test:
11     runs-on: ubuntu-latest
12     name: Test rsync on FreeBSD
13     steps:
14     - uses: actions/checkout@v4
15       with:
16         fetch-depth: 0
17     - name: Test in FreeBSD
18       id: test
19       uses: vmactions/freebsd-vm@v1
20       with:
21         usesh: true
22         prepare: |
23           pkg install -y bash autotools m4 devel/xxhash zstd liblz4 python3 archivers/liblz4
24         run: |
25           freebsd-version
26           ./configure --with-rrsync --disable-md2man
27           make
28           ./rsync --version
29           ./rsync-ssl --no-motd download.samba.org::rsyncftp/ || true
30     - name: save artifact
31       uses: actions/upload-artifact@v3
32       with:
33         name: freebsd-bin
34         path: |
35           rsync
36           rsync-ssl
37           rrsync