Files
MagicSetEditor2/.github/workflows/build.yml
T
Brendan Hagan 28fbde97a6 ci: attempt a action based build
ci: add workflow_dispatch


ci: adjust msys install instructions


ci: switch msystem


ci: try different cmake installation


ci: try mingw64 instead


ci: unix makefiles?


ci: switch to mingw64 shell


ci: install cmake via pacboy?


ci: switch to Ninja?


misc: remove some outdated XP compatibility preprocessor symbols?

https://docs.wxwidgets.org/trunk/page_wxusedef.html
ci: switch main to master


misc: more attempts at correcting build errors


misc: bitmap/image conversions?


ci: trying to get a static build


ci: try to find hunspell dll


ci: hunt down hunspell


ci: modify static flags
2022-06-14 20:04:15 -04:00

39 lines
953 B
YAML

name: windows-build
on:
push:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v2
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: >-
git
mingw-w64-x86_64-cc
mingw-w64-x86_64-gcc
mingw-w64-x86_64-wxWidgets
mingw-w64-x86_64-boost
mingw-w64-x86_64-hunspell
pacboy: >-
cmake:p
ninja:p
- name: CI-Build
run: |
ls /mingw64/bin/ || true
cmake -G "Ninja" -H. -Bbuild -DVCPKG_TARGET_TRIPLET=x64-windows-static
cmake --build build
- uses: actions/upload-artifact@v3
with:
name: build
path: |
./build/magicseteditor*
/mingw64/bin/libhunspell-1.7-0.dll