mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-06-13 08:35:57 -04:00
Every platform build (the BSD/Solaris/macOS/cygwin/almalinux/ubuntu jobs), coverage, the version-mix job and the android static build ran on a daily cron *in addition to* push and pull_request to master. Since push/PR already cover every code change, the cron only adds drift coverage -- catching breakage from a moving runner image or toolchain that no commit triggers. Those images do not change daily, so a daily run mostly re-tests an unchanged tree. Move them all to a weekly cron (Mondays, keeping each job's existing time) to keep that drift coverage at roughly a seventh of the Actions spend and log noise. fleettest was already weekly. Per-change CI on push/PR is unchanged, and workflow_dispatch still allows an on-demand run.
54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
name: Test rsync on NetBSD
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
paths-ignore:
|
|
- '.github/workflows/*.yml'
|
|
- '!.github/workflows/netbsd-build.yml'
|
|
pull_request:
|
|
branches: [ master ]
|
|
paths-ignore:
|
|
- '.github/workflows/*.yml'
|
|
- '!.github/workflows/netbsd-build.yml'
|
|
schedule:
|
|
- cron: '42 8 * * 1'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
name: Test rsync on NetBSD
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Test in NetBSD VM
|
|
id: test
|
|
uses: vmactions/netbsd-vm@v1
|
|
with:
|
|
usesh: true
|
|
prepare: |
|
|
PATH=/usr/sbin:$PATH pkg_add autoconf automake python312
|
|
ln -sf /usr/pkg/bin/python3.12 /usr/pkg/bin/python3
|
|
run: |
|
|
uname -a
|
|
./configure --with-rrsync --disable-zstd --disable-md2man --disable-xxhash --disable-lz4
|
|
make
|
|
./rsync --version
|
|
make check
|
|
./runtests.py --rsync-bin=`pwd`/rsync --use-tcp -j 8
|
|
./rsync-ssl --no-motd download.samba.org::rsyncftp/ || true
|
|
- name: save artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
retention-days: 45
|
|
name: netbsd-bin
|
|
path: |
|
|
rsync
|
|
rsync-ssl
|
|
rsync.1
|
|
rsync-ssl.1
|
|
rsyncd.conf.5
|
|
rrsync.1
|
|
rrsync
|