From bf2ab53758047312649d8910d41fda966a532784 Mon Sep 17 00:00:00 2001 From: Lily Remigia Date: Mon, 11 Mar 2024 19:33:11 +0100 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..1c8db68e --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,39 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: [push] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + - name: Setup MSBuild environment + uses: microsoft/setup-msbuild@v1 +# - name: Get v131_xp tools +# run: msbuild change +#Vcpkg stuff +# - name: Restore or build dependencies using vcpkg +# uses: lukka/run-vcpkg@v2 +# env: +# vcpkgResponseFile: '${{ github.workspace }}/vcpkg.txt' +# with: +# vcpkgArguments: '@${{env.vcpkgResponseFile }}' +# vcpkgDirectory: '${{ github.workspace }}/vcpkg' +# appendedCacheKey: ${{ hashFiles(env.vcpkgResponseFile) }} + - name: Build thcrap + run: msbuild thcrap.sln /property:Configuration=Release +# run: | +# ${{ github.workspace }}/vcpkg/vcpkg.exe integrate install +# msbuild thcrap.sln /property:Configuration=Release + - name: Upload thcrap.zip + uses: actions/upload-artifact@v2 + with: + name: thcrap + path: bin/