Provides and conflicts with msys2-runtime, so can be used to replace it if wanted. Keep this as a separate package to test for regressions in cygwin and to have (in theory) a runtime that supports 32bit in the repo. There is no guarantee for how long we are going to keep this.
53 lines
1.4 KiB
Diff
53 lines
1.4 KiB
Diff
From 69029b18df8090e071eb8a8c1446a532c0c71d0b Mon Sep 17 00:00:00 2001
|
|
From: Christoph Reiter <reiter.christoph@gmail.com>
|
|
Date: Sun, 9 Aug 2020 14:02:51 +0200
|
|
Subject: [PATCH 23/N] CI: add a GHA for doing a basic build test
|
|
|
|
---
|
|
.github/workflows/build.yaml | 36 ++++++++++++++++++++++++++++++++++++
|
|
1 file changed, 36 insertions(+)
|
|
create mode 100644 .github/workflows/build.yaml
|
|
|
|
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
|
|
new file mode 100644
|
|
index 0000000..4e1d498
|
|
--- /dev/null
|
|
+++ b/.github/workflows/build.yaml
|
|
@@ -0,0 +1,36 @@
|
|
+name: build
|
|
+
|
|
+on: [push, pull_request]
|
|
+
|
|
+jobs:
|
|
+ build:
|
|
+ runs-on: windows-latest
|
|
+
|
|
+ steps:
|
|
+ - name: Checkout code
|
|
+ uses: actions/checkout@v2
|
|
+
|
|
+ - name: setup-msys2
|
|
+ uses: msys2/setup-msys2@v2
|
|
+ with:
|
|
+ msystem: MSYS
|
|
+ update: true
|
|
+ install: msys2-devel base-devel autotools cocom diffutils gcc gettext-devel libiconv-devel make mingw-w64-cross-crt mingw-w64-cross-gcc mingw-w64-cross-zlib perl zlib-devel xmlto docbook-xsl
|
|
+
|
|
+ - name: Build
|
|
+ shell: msys2 {0}
|
|
+ run: |
|
|
+ (cd winsup && ./autogen.sh)
|
|
+ ./configure
|
|
+ make -j8
|
|
+
|
|
+ - name: Install
|
|
+ shell: msys2 {0}
|
|
+ run: |
|
|
+ make DESTDIR="$(pwd)"/_dest install
|
|
+
|
|
+ - name: Upload
|
|
+ uses: actions/upload-artifact@v2
|
|
+ with:
|
|
+ name: install
|
|
+ path: _dest/
|