From f6c8076def805b094003990307874c54e711da1f Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Fri, 16 Sep 2022 18:04:48 +0200 Subject: Added CI MSBuild. Signed-off-by: Toni Uhlig --- .github/workflows/build.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/build.yml (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..df15291 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,36 @@ +name: Build +on: + schedule: + - cron: '30 5 1 * *' + + push: + branches: + - master + - gh-msbuild + pull_request: + branches: + - master + - gh-msbuild + types: [opened, synchronize, reopened] + release: + types: [created] +jobs: + test: + name: MSBuild + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v1.1 + + - name: Build solution for release + run: msbuild PastDSE.sln -t:rebuild -property:Configuration=Release + + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: build-artifacts + path: x64 + retention-days: 14 -- cgit v1.2.3