tTry to build for Windows in a mingw Docker image - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 398499b040c7d1c13c9c26c61c1a714a582744a5
(DIR) parent 39a25ac42e5cd4ee7f3fac775dfac616b6145cc3
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Fri, 1 Jan 2021 23:32:05 -0800
Try to build for Windows in a mingw Docker image
Diffstat:
M .github/workflows/build.yml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
t@@ -15,12 +15,16 @@ jobs:
include:
- os: macos-latest
flags: "--enable-networking"
+ - os: ubuntu-latest
+ container: benmwebb/mingw
+ flags: "--host=x86_64-w64-mingw32 --enable-nativewin32"
runs-on: ${{ matrix.os }}
+ container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v2
- name: Install dependencies (Linux)
- if: matrix.os == 'ubuntu-latest'
+ if: matrix.os == 'ubuntu-latest' && matrix.container == null
run: |
sudo apt-get update -qq && sudo apt-get install -qq automake autoconf gcc libglib2.0-dev libcurl4-openssl-dev libgtk2.0-dev libgtk-3-dev
- name: Install dependencies (Mac)
t@@ -31,6 +35,7 @@ jobs:
run: |
./autogen.sh ${{ matrix.flags }} && make -j2
- name: Test
+ if: matrix.container == null
run: |
src/dopewars -v
src/dopewars -h