* 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
41 lines
722 B
YAML
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
|