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
This commit is contained in:
Brendan Hagan
2022-06-05 01:14:13 -04:00
parent f9d9356d51
commit 28fbde97a6
3 changed files with 45 additions and 85 deletions
+39
View File
@@ -0,0 +1,39 @@
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