raylib-cpp-template/.github/workflows/windows.yml
mTvare 9410652cf6
Export compiled binary by default (#6)
* Update Makefile to export binaries by default

* Update Makefile to export binaries by default

* Update Makefile to export binaries by default

* Export binary with appropriate .exe extension

* Update README.md
2021-04-09 20:30:58 +10: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