public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin-apps@cygwin.com
Cc: Jon Turney <jon.turney@dronecode.org.uk>
Subject: [PATCH cygport 3/4] Add a GitHub action to run tests
Date: Wed, 25 Mar 2020 16:34:48 +0000	[thread overview]
Message-ID: <20200325163449.16657-4-jon.turney@dronecode.org.uk> (raw)
In-Reply-To: <20200325163449.16657-1-jon.turney@dronecode.org.uk>

---
 .github/workflows/cygwin.yml | 116 +++++++++++++++++++++++++++++++++++
 1 file changed, 116 insertions(+)
 create mode 100644 .github/workflows/cygwin.yml

diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml
new file mode 100644
index 0000000..5fd2a2f
--- /dev/null
+++ b/.github/workflows/cygwin.yml
@@ -0,0 +1,116 @@
+name: Cygwin
+on: [push, pull_request]
+
+jobs:
+  cygport:
+    name: cygport
+    runs-on:  windows-latest
+    steps:
+    - name: Turn off line ending conversion in git
+      run: |
+        git config --global core.autocrlf false
+        git config --global core.eol lf
+    - uses: actions/checkout@v1
+      with:
+        submodules: true
+    - uses: actions/cache@v1
+      with:
+        path: C:\cygwin-packages
+        key: cygwin-packages-${{ hashFiles('**') }}
+        restore-keys: cygwin-packages-
+    - name: Fetch Cygwin installer
+      run: |
+        Invoke-WebRequest https://cygwin.com/setup-x86_64.exe -OutFile C:\setup.exe
+      shell: powershell
+      # installer should be cacheable
+    - name: Install Cygwin
+      run: |
+        c:\setup.exe -qgnO -s http://mirrors.kernel.org/sourceware/cygwin/ -l C:\cygwin-packages\ -P ^
+        R,^
+        aspell,^
+        automake,^
+        automoc4,^
+        bzr,^
+        cmake,^
+        cvs,^
+        diffstat,^
+        dos2unix,^
+        extra-cmake-modules,^
+        flexdll,^
+        fontforge,^
+        gcc-g++,^
+        git,^
+        git-archive-all,^
+        gnome-common,^
+        gobject-introspection,^
+        help2man,^
+        httpd-devel,^
+        kf5-kdoctools,^
+        libGL-devel,^
+        libGeoIP-devel,^
+        libKF5XmlGui-devel,^
+        libQt5Core-devel,^
+        libQt5Svg-devel,^
+        libQtTest4-devel,^
+        libRmath,^
+        libartsc-devel,^
+        libbz2-devel,^
+        libcairomm1.0-devel,^
+        libcrypt-devel,^
+        libexif-devel,^
+        libgdk_pixbuf2.0-devel,^
+        libgirepository1.0-devel,^
+        libglibmm2.4-devel,^
+        libicu-devel,^
+        libkdecore4-devel,^
+        libkdecore5-devel,^
+        liblzma-devel,^
+        libnotify-devel,^
+        libpango1.0-devel,^
+        libqca-devel,^
+        libqca-qt5-devel,^
+        libtirpc-devel,^
+        libxfce4ui1-devel,^
+        libxfconf0-devel,^
+        lndir,^
+        lua-devel,^
+        make,^
+        mate-common,^
+        mercurial,^
+        meson,^
+        mingw64-i686-gcc-core,^
+        mingw64-i686-qt5-base,^
+        mingw64-i686-qt5-tools,^
+        mm-common,^
+        monotone,^
+        ninja,^
+        ocaml,^
+        ocaml-findlib,^
+        patch,^
+        perl,^
+        perl-Module-Build,^
+        php-PEAR,^
+        python-gtk2.0-devel,^
+        python2-devel,^
+        python2-pip,^
+        python3-pip,^
+        python3-setuptools,^
+        python2-wheel,^
+        python3-wheel,^
+        python37-pip,^
+        robodoc,^
+        ruby,^
+        subversion,^
+        unzip,^
+        xfce4-dev-tools,^
+        xfce4-panel-devel
+      shell: cmd
+    - name: Set PATH
+      run: |
+        echo '::set-env name=PATH::C:\cygwin64\bin;C:\cygwin64\lib\lapack;%SYSTEMROOT%\system32'
+    - name: Build
+      run: |
+        bash -c 'meson _build && ninja -C _build'
+    - name: Test
+      run: |
+        bash -c 'meson test -C _build --print-errorlogs'
-- 
2.21.0


  parent reply	other threads:[~2020-03-25 16:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25 16:34 [PATCH cygport 0/4] Test suite fixes Jon Turney
2020-03-25 16:34 ` [PATCH cygport 1/4] Update tests for build-depends: appearing in source hints Jon Turney
2020-03-25 16:34 ` [PATCH cygport 2/4] Updates to tests for package updates Jon Turney
2020-03-25 16:34 ` Jon Turney [this message]
2020-03-25 16:34 ` [PATCH cygport 4/4] Add some case variants to list of default documentation files installed Jon Turney
2020-03-25 16:52 ` [PATCH cygport 0/4] Test suite fixes Yaakov Selkowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200325163449.16657-4-jon.turney@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).