+++ /dev/null
-name: build
-
-on:
- push:
- branches: [ master ]
- pull_request:
- branches: [ master ]
- schedule:
- - cron: '42 8 * * *'
-
-jobs:
-
- ubuntu-build:
- runs-on: ubuntu-20.04
- steps:
- - uses: actions/checkout@v4
- with:
- fetch-depth: 0
- - name: prep
- run: |
- sudo apt-get install acl libacl1-dev attr libattr1-dev liblz4-dev libzstd-dev libxxhash-dev python3-cmarkgfm openssl
- 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@v4
- with:
- fetch-depth: 0
- - name: prep
- run: |
- brew install automake openssl xxhash zstd lz4
- sudo pip3 install commonmark
- 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@v4
- with:
- fetch-depth: 0
- - 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
- 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
--- /dev/null
+name: Test rsync on Cygwin
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+ schedule:
+ - cron: '42 8 * * *'
+
+jobs:
+ test:
+ runs-on: windows-2022
+ name: Test rsync on Cygwin
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - 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
+ 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
branches: [ master ]
pull_request:
branches: [ master ]
+ schedule:
+ - cron: '42 8 * * *'
jobs:
test:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- - name: Test in FreeBSD
+ - name: Test in FreeBSD VM
id: test
uses: vmactions/freebsd-vm@v1
with:
--- /dev/null
+name: Test rsync on macOS
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+ schedule:
+ - cron: '42 8 * * *'
+
+jobs:
+ test:
+ runs-on: macos-latest
+ name: Test rsync on macOS
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - name: prep
+ run: |
+ brew install automake openssl xxhash zstd lz4
+ sudo pip3 install commonmark
+ 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
branches: [ master ]
pull_request:
branches: [ master ]
+ schedule:
+ - cron: '42 8 * * *'
jobs:
- solaris-test:
+ test:
runs-on: ubuntu-latest
name: Test rsync on Solaris
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- - name: Test in Solaris
+ - name: Test in Solaris VM
id: test
uses: vmactions/solaris-vm@v1
with:
make
./rsync --version
./rsync-ssl --no-motd download.samba.org::rsyncftp/ || true
+ - name: save artifact
+ uses: actions/upload-artifact@v3
+ with:
+ name: solaris-bin
+ path: |
+ rsync
+ rsync-ssl
+ rsync.1
+ rsync-ssl.1
+ rsyncd.conf.5
+ rrsync.1
+ rrsync
--- /dev/null
+name: Test rsync on Ubuntu
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+ schedule:
+ - cron: '42 8 * * *'
+
+jobs:
+ test:
+ runs-on: ubuntu-20.04
+ name: Test rsync on Ubuntu
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - name: prep
+ run: |
+ sudo apt-get install acl libacl1-dev attr libattr1-dev liblz4-dev libzstd-dev libxxhash-dev python3-cmarkgfm openssl
+ 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