60dc8d5f2d384f3b5735e7d05df8354c25d1b20d
[rsync.git] / .github / workflows / ubuntu-build.yml
1 name: Test rsync on Ubuntu
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-20.04
14     name: Test rsync on Ubuntu
15     steps:
16     - uses: actions/checkout@v4
17       with:
18         fetch-depth: 0
19     - name: prep
20       run: |
21         sudo apt-get install acl libacl1-dev attr libattr1-dev liblz4-dev libzstd-dev libxxhash-dev python3-cmarkgfm openssl
22         echo "/usr/local/bin" >>$GITHUB_PATH
23     - name: configure
24       run: ./configure --with-rrsync
25     - name: make
26       run: make
27     - name: install
28       run: sudo make install
29     - name: info
30       run: rsync --version
31     - name: check
32       run: sudo RSYNC_EXPECT_SKIPPED=crtimes make check
33     - name: check30
34       run: sudo RSYNC_EXPECT_SKIPPED=crtimes make check30
35     - name: check29
36       run: sudo RSYNC_EXPECT_SKIPPED=crtimes make check29
37     - name: ssl file list
38       run: rsync-ssl --no-motd download.samba.org::rsyncftp/ || true
39     - name: save artifact
40       uses: actions/upload-artifact@v3
41       with:
42         name: ubuntu-bin
43         path: |
44           rsync
45           rsync-ssl
46           rsync.1
47           rsync-ssl.1
48           rsyncd.conf.5
49           rrsync.1
50           rrsync