boids-playground/.github/workflows/windows.yml
2023-07-17 13:58:36 +00:00

41 lines
722 B
YAML

name: Windows
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: make setup
run: mingw32-make setup
shell: cmd
- name: make bin/app
run: mingw32-make bin/app
shell: cmd
- name: 'export binary'
uses: actions/upload-artifact@v2
with:
name: app.exe
path: bin/app.exe
- name: make clean
run: mingw32-make clean
shell: cmd
- name: make bin/app CXX=g++
run: mingw32-make bin/app CXX=g++
shell: cmd
- name: make clean
run: mingw32-make clean
shell: cmd