Let's try a Cygwin build on Cirrus.
authorWayne Davison <wayne@opencoder.net>
Wed, 15 Jul 2020 03:41:44 +0000 (20:41 -0700)
committerWayne Davison <wayne@opencoder.net>
Wed, 15 Jul 2020 03:41:44 +0000 (20:41 -0700)
.cirrus.yml

index 5969576f102a6f230c7949dff3ea1abfa9932c8c..1d2067e3b35d35d1a61c8eef3109e7d7693c0ec3 100644 (file)
@@ -1,4 +1,4 @@
-task:
+freebsd_task:
   name: FreeBSD
   freebsd_instance:
     image: freebsd-12-1-release-amd64
@@ -18,3 +18,26 @@ 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'