]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Try Cygwin build in actions.
authorWayne Davison <wayne@opencoder.net>
Wed, 15 Jul 2020 04:18:52 +0000 (21:18 -0700)
committerWayne Davison <wayne@opencoder.net>
Wed, 15 Jul 2020 04:18:52 +0000 (21:18 -0700)
.cirrus.yml
.github/workflows/ccpp.yml

index 1d2067e3b35d35d1a61c8eef3109e7d7693c0ec3..1aa900525d7dab511542fb807120d87a8545e348 100644 (file)
@@ -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'
index fbab5cd4ff8cae2da206acf4cee33d9d872c3bdd..e4e51c5a110717b2d14b5fe1dfccf2801737d09a 100644 (file)
@@ -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'