Get rid of gensend target & cached git version.
[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       fetch-depth: 0
16     - name: Test in FreeBSD
17       id: test
18       uses: vmactions/freebsd-vm@v1
19       with:
20         usesh: true
21         prepare: |
22           pkg install -y bash autotools m4 devel/xxhash zstd liblz4 python3 archivers/liblz4
23         run: |
24           freebsd-version
25           ./configure --with-rrsync --disable-md2man
26           make
27           ./rsync --version
28           ./rsync-ssl --no-motd download.samba.org::rsyncftp/ || true
29     - name: save artifact
30       uses: actions/upload-artifact@v3
31       with:
32         name: freebsd-bin
33         path: |
34           rsync
35           rsync-ssl
36           rrsync