From 7c432c11e294f6dcd9c490753798aec5fe671791 Mon Sep 17 00:00:00 2001 From: falsycat Date: Wed, 2 Feb 2022 11:59:03 +0900 Subject: [PATCH] setup GitHub Actions --- .github/workflows/build.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..7500a4c --- /dev/null +++ b/.github/workflows/build.yml @@ -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: ./