git: drawterm

Download patch

ref: 9105c90fb16697a333ce1ca83a0b3d615fcb7a10
parent: b9b1f6c7c09d3294512caf822792ea268cd8a28a
author: Jacob Moody <moody@posixcafe.org>
date: Wed Aug 16 14:06:40 EDT 2023

ci: github windows ci

--- /dev/null
+++ b/.github/workflows/build.yml
@@ -1,0 +1,39 @@
+name: build
+on: [push]
+jobs:
+  Build-Windows:
+    runs-on: windows-latest
+    steps:
+      - run: git config --global core.autocrlf input
+      - name: Set up Cygwin
+        uses: cygwin/cygwin-install-action@master
+        with:
+          packages: mingw64-i686-gcc-core mingw64-x86_64-gcc-core make
+      - name: Checkout Code
+        uses: actions/checkout@v3
+      - name: Build i686
+        env:
+          CONF: win32
+        run: |
+          cd ${{ github.workspace }}
+          make
+          copy drawterm.exe drawterm-i686.exe
+          make clean
+      - name: Build amd64
+        env:
+          CONF: win64
+        run: |
+          cd ${{ github.workspace }}
+          make
+          copy drawterm.exe drawterm-amd64.exe
+          make clean
+      - name: Upload i686
+        uses: actions/upload-artifact@v3
+        with:
+          name: drawterm-i686.exe
+          path: ${{ github.workspace }}/drawterm-i686.exe
+      - name: Upload amd64
+        uses: actions/upload-artifact@v3
+        with:
+          name: drawterm-amd64.exe
+          path: ${{ github.workspace }}/drawterm-amd64.exe
--