From 1c58db28de33d2652d657adcb37a31f34c14da5d Mon Sep 17 00:00:00 2001 From: ~locpyl-tidnyd Date: Mon, 29 Mar 2021 20:49:41 +0000 Subject: [PATCH] meta: add mingw build action --- .github/workflows/build.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7b954227..67629bedc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -94,3 +94,21 @@ jobs: - run: nix-build -A hs.urbit-king.components.exes.urbit-king --arg enableStatic true - run: nix-build -A hs-checks - run: nix-build shell.nix + + mingw: + runs-on: windows-latest + defaults: + run: + shell: C:\msys64\msys2_shell.cmd -mingw64 -defterm -no-start -here -c ". <(cygpath '{0}')" + + steps: + - uses: actions/checkout@v2 + with: + lfs: true + + # echo suppresses pacman prompt + - run: echo|./configure + working-directory: ./pkg/urbit + + - run: make build/urbit build/urbit-worker + working-directory: ./pkg/urbit