Skip to content

Commit b1ec4c8

Browse files
authored
Merge branch 'master' into moving_to_usr_etc
2 parents 50458ab + 9994933 commit b1ec4c8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+4318
-1836
lines changed

.cirrus.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 0 additions & 125 deletions
This file was deleted.

.github/workflows/cygwin-build.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Test rsync on Cygwin
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths-ignore:
7+
- '.github/workflows/*.yml'
8+
- '!.github/workflows/cygwin-build.yml'
9+
pull_request:
10+
branches: [ master ]
11+
paths-ignore:
12+
- '.github/workflows/*.yml'
13+
- '!.github/workflows/cygwin-build.yml'
14+
schedule:
15+
- cron: '42 8 * * *'
16+
17+
jobs:
18+
test:
19+
runs-on: windows-2022
20+
name: Test rsync on Cygwin
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- name: cygwin
26+
run: choco install -y --no-progress cygwin cyg-get
27+
- name: prep
28+
run: |
29+
cyg-get make autoconf automake gcc-core attr libattr-devel python39 python39-pip libzstd-devel liblz4-devel libssl-devel libxxhash0 libxxhash-devel
30+
echo "C:/tools/cygwin/bin" >>$Env:GITHUB_PATH
31+
- name: commonmark
32+
run: bash -c 'python3 -mpip install --user commonmark'
33+
- name: configure
34+
run: bash -c './configure --with-rrsync'
35+
- name: make
36+
run: bash -c 'make'
37+
- name: install
38+
run: bash -c 'make install'
39+
- name: info
40+
run: bash -c '/usr/local/bin/rsync --version'
41+
- name: check
42+
run: bash -c 'RSYNC_EXPECT_SKIPPED=acls-default,acls,chown,devices,dir-sgid,protected-regular make check'
43+
- name: ssl file list
44+
run: bash -c 'PATH="/usr/local/bin:$PATH" rsync-ssl --no-motd download.samba.org::rsyncftp/ || true'
45+
- name: save artifact
46+
uses: actions/upload-artifact@v4
47+
with:
48+
name: cygwin-bin
49+
path: |
50+
rsync.exe
51+
rsync-ssl
52+
rsync.1
53+
rsync-ssl.1
54+
rsyncd.conf.5
55+
rrsync.1
56+
rrsync
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Test rsync on FreeBSD
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths-ignore:
7+
- '.github/workflows/*.yml'
8+
- '!.github/workflows/freebsd-build.yml'
9+
pull_request:
10+
branches: [ master ]
11+
paths-ignore:
12+
- '.github/workflows/*.yml'
13+
- '!.github/workflows/freebsd-build.yml'
14+
schedule:
15+
- cron: '42 8 * * *'
16+
17+
jobs:
18+
test:
19+
runs-on: ubuntu-latest
20+
name: Test rsync on FreeBSD
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- name: Test in FreeBSD VM
26+
id: test
27+
uses: vmactions/freebsd-vm@v1
28+
with:
29+
usesh: true
30+
prepare: |
31+
pkg install -y bash autotools m4 devel/xxhash zstd liblz4 python3 archivers/liblz4 git
32+
run: |
33+
freebsd-version
34+
./configure --with-rrsync -disable-zstd --disable-md2man --disable-xxhash --disable-lz4
35+
make
36+
./rsync --version
37+
./rsync-ssl --no-motd download.samba.org::rsyncftp/ || true
38+
- name: save artifact
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: freebsd-bin
42+
path: |
43+
rsync
44+
rsync-ssl
45+
rsync.1
46+
rsync-ssl.1
47+
rsyncd.conf.5
48+
rrsync.1
49+
rrsync

.github/workflows/macos-build.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Test rsync on macOS
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths-ignore:
7+
- '.github/workflows/*.yml'
8+
- '!.github/workflows/macos-build.yml'
9+
pull_request:
10+
branches: [ master ]
11+
paths-ignore:
12+
- '.github/workflows/*.yml'
13+
- '!.github/workflows/macos-build.yml'
14+
schedule:
15+
- cron: '42 8 * * *'
16+
17+
jobs:
18+
test:
19+
runs-on: macos-latest
20+
name: Test rsync on macOS
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- name: prep
26+
run: |
27+
brew install automake openssl xxhash zstd lz4
28+
sudo pip3 install commonmark
29+
echo "/usr/local/bin" >>$GITHUB_PATH
30+
- name: configure
31+
run: CPPFLAGS=-I/usr/local/opt/openssl/include/ LDFLAGS=-L/usr/local/opt/openssl/lib/ ./configure --with-rrsync
32+
- name: make
33+
run: make
34+
- name: install
35+
run: sudo make install
36+
- name: info
37+
run: rsync --version
38+
- name: check
39+
run: sudo RSYNC_EXPECT_SKIPPED=acls-default,chmod-temp-dir,chown-fake,devices-fake,dir-sgid,protected-regular,xattrs-hlink,xattrs make check
40+
- name: ssl file list
41+
run: rsync-ssl --no-motd download.samba.org::rsyncftp/ || true
42+
- name: save artifact
43+
uses: actions/upload-artifact@v3
44+
with:
45+
name: macos-bin
46+
path: |
47+
rsync
48+
rsync-ssl
49+
rsync.1
50+
rsync-ssl.1
51+
rsyncd.conf.5
52+
rrsync.1
53+
rrsync
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Test rsync on Solaris
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths-ignore:
7+
- '.github/workflows/*.yml'
8+
- '!.github/workflows/solaris-build.yml'
9+
pull_request:
10+
branches: [ master ]
11+
paths-ignore:
12+
- '.github/workflows/*.yml'
13+
- '!.github/workflows/solaris-build.yml'
14+
schedule:
15+
- cron: '42 8 * * *'
16+
17+
jobs:
18+
test:
19+
runs-on: ubuntu-latest
20+
name: Test rsync on Solaris
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- name: Test in Solaris VM
26+
id: test
27+
uses: vmactions/solaris-vm@v1
28+
with:
29+
usesh: true
30+
prepare: |
31+
pkg install bash automake gnu-m4 pkg://solaris/runtime/python-35 autoconf gcc git
32+
run: |
33+
uname -a
34+
./configure --with-rrsync -disable-zstd --disable-md2man --disable-xxhash --disable-lz4
35+
make
36+
./rsync --version
37+
./rsync-ssl --no-motd download.samba.org::rsyncftp/ || true
38+
- name: save artifact
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: solaris-bin
42+
path: |
43+
rsync
44+
rsync-ssl
45+
rsync.1
46+
rsync-ssl.1
47+
rsyncd.conf.5
48+
rrsync.1
49+
rrsync

0 commit comments

Comments
 (0)