From 23213099e9fc0dab584ed7e7a53b15a0ef1613bd Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 14 Jul 2020 21:18:52 -0700 Subject: [PATCH] Try Cygwin build in actions. --- .cirrus.yml | 23 ----------------------- .github/workflows/ccpp.yml | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 1d2067e3..1aa90052 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -18,26 +18,3 @@ freebsd_task: - make check ssl_file_list_script: - /usr/local/bin/rsync-ssl --no-motd download.samba.org::rsyncftp/ || true - -cygwin_task: - name: Cygwin - windows_container: - image: cirrusci/windowsservercore:2019 - os_version: 2019 - env: - PATH: C:\tools\cygwin\bin;$PATH - prep_script: - - choco install -y --no-progress cygwin cyg-get - - cyg-get make autoconf automake gcc-core gcc-g++ libssl-devel libzstd-devel liblz4-devel - configure_script: - - bash -c './configure --disable-md2man --disable-xxhash' - make_script: - - bash -c 'make' - install_script: - - bash -c 'make install' - info_script: - - bash -c '/usr/local/bin/rsync --version' - test_script: - - bash -c 'make check' - ssl_file_list_script: - - bash -c '/usr/local/bin/rsync-ssl --no-motd download.samba.org::rsyncftp/ || true' diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index fbab5cd4..e4e51c5a 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -52,3 +52,27 @@ jobs: run: sudo make check - name: ssl file list run: /usr/local/bin/rsync-ssl --no-motd download.samba.org::rsyncftp/ || true + + cygwin-build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - uses: crazy-max/ghaction-chocolatey@v1.2.2 + with: + args: install -y --no-progress cygwin cyg-get + - name: prep + run: | + cyg-get make autoconf automake gcc-core gcc-g++ libssl-devel libzstd-devel liblz4-devel + echo "::add-path::.C:/tools/cygwin/bin" + - name: configure + run: bash -c './configure --disable-md2man --disable-xxhash' + - 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 'make check' + - name: ssl file list + run: bash -c '/usr/local/bin/rsync-ssl --no-motd download.samba.org::rsyncftp/ || true' -- 2.34.1