add windows build again
This commit is contained in:
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
@@ -44,3 +44,30 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: todd-mac
|
name: todd-mac
|
||||||
path: build
|
path: build
|
||||||
|
|
||||||
|
build-windows:
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: msys2 {0}
|
||||||
|
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: msys2/setup-msys2@v2
|
||||||
|
with:
|
||||||
|
update: true
|
||||||
|
install: >-
|
||||||
|
mingw-w64-x86_64-gcc
|
||||||
|
mingw-w64-x86_64-make
|
||||||
|
mingw-w64-x86_64-libncurses
|
||||||
|
- name: make
|
||||||
|
run: make
|
||||||
|
- name: copy to build folder
|
||||||
|
run: |
|
||||||
|
mkdir -p build
|
||||||
|
cp ./todd.exe build/
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: todd-windows
|
||||||
|
path: build
|
||||||
|
|||||||
Reference in New Issue
Block a user