Skip to content

Commit

Permalink
Add VS2019 build using GitHub workflow (#4)
Browse files Browse the repository at this point in the history
* Add VS2019 build using GitHub workflow

* Add Win32 build
  • Loading branch information
koppor committed Oct 4, 2020
1 parent af9e9be commit a26c650
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yaml
@@ -0,0 +1,29 @@
name: Build
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
platform: ["Win32", "x64"]
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- uses: ilammy/msvc-dev-cmd@v1
with:
sdk: "8.1"
toolset: "14.16"
- name: premake
run: |
$env:Path = "C:\msys64\usr\bin;$env:Path"
wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha15/premake-5.0.0-alpha15-windows.zip
unzip premake-5.0.0-alpha15-windows.zip
./premake5.exe vs2019
- name: Execute MSBuild
run: |
cd .build/vs2019
MSBuild /nologo /property:Configuration=release /p:Platform=${{ matrix.platform }} clink.sln
- uses: actions/upload-artifact@v2
with:
name: release
path: .build/vs2019/bin/release

0 comments on commit a26c650

Please sign in to comment.