diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 000000000..8c4f576a3 --- /dev/null +++ b/.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