From bd6f35ee01dcb25229f5090991ecf535b280d802 Mon Sep 17 00:00:00 2001 From: Lukas Kurz Date: Thu, 27 Jun 2024 22:57:02 +0200 Subject: [PATCH] Basic windows build pipeline --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..4a78535 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Build + +on: + push: + workflow_dispatch: + +jobs: + windows: + runs-on: windows-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + submodules: "true" + + - name: Build x86 + shell: pwsh + run: msbuild .\src\build\windows\MS_VS2022\Lerc\Lerc.vcxproj /p:Platform=x64 /p:OutDir="$pwd/runtimes/win-x64/native/" + - name: Build x64 + shell: pwsh + run: msbuild .\src\build\windows\MS_VS2022\Lerc\Lerc.vcxproj /p:Platform=x86 /p:OutDir="$pwd/runtimes/win-x86/native/" + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: windows