From b253356f706b14e08f600a0833f6712179d206fe Mon Sep 17 00:00:00 2001 From: Biru Mohanathas Date: Fri, 11 Apr 2025 23:25:53 +0700 Subject: [PATCH] Add GitHub Action to build SDK --- .github/workflows/build.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..8d7f612 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,19 @@ +name: build + +on: push + +jobs: + build: + runs-on: windows-2025 + steps: + - name: Clone repo + uses: actions/checkout@v4 + + - name: Setup msbuild + uses: microsoft/setup-msbuild@v2 + + - name: Build C# SDK + run: msbuild.exe C#\SDK-CS.sln -t:rebuild -p:Configuration=Release -p:Platform=x64 + + - name: Build C++ SDK + run: msbuild.exe C++\SDK-CPP.sln -t:rebuild -p:Configuration=Release -p:Platform=x64