build #1839
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: [ .cirrus.yml ] | |
pull_request: | |
branches: [ master ] | |
paths-ignore: [ .cirrus.yml ] | |
schedule: | |
- cron: '42 8 * * *' | |
jobs: | |
ubuntu-build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: prep | |
run: | | |
sudo apt-get install acl libacl1-dev attr libattr1-dev liblz4-dev libzstd-dev libxxhash-dev python3-cmarkgfm openssl wget | |
wget -O git-version.h https://gist.githubusercontent.com/WayneD/c11243fa374fc64d4e42f2855c8e3827/raw/rsync-git-version.h | |
echo "/usr/local/bin" >>$GITHUB_PATH | |
- name: configure | |
run: ./configure --with-rrsync | |
- name: make | |
run: make | |
- name: install | |
run: sudo make install | |
- name: info | |
run: rsync --version | |
- name: check | |
run: sudo RSYNC_EXPECT_SKIPPED=crtimes make check | |
- name: check30 | |
run: sudo RSYNC_EXPECT_SKIPPED=crtimes make check30 | |
- name: check29 | |
run: sudo RSYNC_EXPECT_SKIPPED=crtimes make check29 | |
- name: ssl file list | |
run: rsync-ssl --no-motd download.samba.org::rsyncftp/ || true | |
- name: save artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ubuntu-bin | |
path: | | |
rsync | |
rsync-ssl | |
rsync.1 | |
rsync-ssl.1 | |
rsyncd.conf.5 | |
rrsync.1 | |
rrsync | |
macos-build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: prep | |
run: | | |
brew install automake openssl xxhash zstd lz4 wget | |
sudo pip3 install commonmark | |
wget -O git-version.h https://gist.githubusercontent.com/WayneD/c11243fa374fc64d4e42f2855c8e3827/raw/rsync-git-version.h | |
echo "/usr/local/bin" >>$GITHUB_PATH | |
- name: configure | |
run: CPPFLAGS=-I/usr/local/opt/openssl/include/ LDFLAGS=-L/usr/local/opt/openssl/lib/ ./configure --with-rrsync | |
- name: make | |
run: make | |
- name: install | |
run: sudo make install | |
- name: info | |
run: rsync --version | |
- name: check | |
run: sudo RSYNC_EXPECT_SKIPPED=acls-default,chmod-temp-dir,chown-fake,devices-fake,dir-sgid,protected-regular,xattrs-hlink,xattrs make check | |
- name: ssl file list | |
run: rsync-ssl --no-motd download.samba.org::rsyncftp/ || true | |
- name: save artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: macos-bin | |
path: | | |
rsync | |
rsync-ssl | |
rsync.1 | |
rsync-ssl.1 | |
rsyncd.conf.5 | |
rrsync.1 | |
rrsync | |
cygwin-build: | |
runs-on: windows-2022 | |
if: (github.event_name == 'schedule' || contains(github.event.head_commit.message, '[buildall]')) | |
steps: | |
- uses: actions/checkout@v3 | |
- name: cygwin | |
run: choco install -y --no-progress cygwin cyg-get | |
- name: prep | |
run: | | |
cyg-get make autoconf automake gcc-core attr libattr-devel python39 python39-pip libzstd-devel liblz4-devel libssl-devel libxxhash0 libxxhash-devel | |
curl.exe -o git-version.h https://gist.githubusercontent.com/WayneD/c11243fa374fc64d4e42f2855c8e3827/raw/rsync-git-version.h | |
echo "C:/tools/cygwin/bin" >>$Env:GITHUB_PATH | |
- name: commonmark | |
run: bash -c 'python3 -mpip install --user commonmark' | |
- name: configure | |
run: bash -c './configure --with-rrsync' | |
- name: make | |
run: bash -c 'make' | |
- name: install | |
run: bash -c 'make install' | |
- name: info | |
run: bash -c '/usr/local/bin/rsync --version' | |
- name: check | |
run: bash -c 'RSYNC_EXPECT_SKIPPED=acls-default,acls,chown,devices,dir-sgid,protected-regular make check' | |
- name: ssl file list | |
run: bash -c 'PATH="/usr/local/bin:$PATH" rsync-ssl --no-motd download.samba.org::rsyncftp/ || true' | |
- name: save artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: cygwin-bin | |
path: | | |
rsync.exe | |
rsync-ssl | |
rsync.1 | |
rsync-ssl.1 | |
rsyncd.conf.5 | |
rrsync.1 | |
rrsync |