557a5781e0e289a57547fff2076e4fe78fe2acfa
[rsync.git] / .github / workflows / solaris-build.yml
1 name: Test rsync on Solaris
2
3 on:
4   push:
5     branches: [ master ]
6   pull_request:
7     branches: [ master ]
8   schedule:
9     - cron: '42 8 * * *'
10
11 jobs:
12   test:
13     runs-on: ubuntu-latest
14     name: Test rsync on Solaris
15     steps:
16     - uses: actions/checkout@v4
17       with:
18         fetch-depth: 0
19     - name: Test in Solaris VM
20       id: test
21       uses: vmactions/solaris-vm@v1
22       with:
23         usesh: true
24         prepare: |
25           pkg install bash automake gnu-m4 pkg://solaris/runtime/python-35 autoconf gcc
26         run: |
27           uname -a
28           ./configure --with-rrsync -disable-zstd --disable-md2man --disable-xxhash --disable-lz4
29           make
30           ./rsync --version
31           ./rsync-ssl --no-motd download.samba.org::rsyncftp/ || true
32     - name: save artifact
33       uses: actions/upload-artifact@v3
34       with:
35         name: solaris-bin
36         path: |
37           rsync
38           rsync-ssl
39           rsync.1
40           rsync-ssl.1
41           rsyncd.conf.5
42           rrsync.1
43           rrsync