setup GitHub Actions

This commit is contained in:
falsycat 2022-02-02 11:59:03 +09:00
parent 1186bb6ab8
commit 7c432c11e2

31
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: build
on:
push:
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
mode:
- { upper: Debug, lower: debug }
- { upper: Release, lower: release }
name: ${{ matrix.mode.lower }}
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: microsoft/setup-msbuild@v1.1
with:
msbuild-architecture: x86_64
- name: build
run : msbuild GlyphsJuke.sln /t:build /p:configuration=${{ matrix.mode.upper }}
- name: 'uploading artifacts'
uses: actions/upload-artifact@v2
with:
name: gj-windows-${{ matrix.mode.lower }}
path: ./