Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyremigia authored Mar 11, 2024
1 parent 95e8cd2 commit bf2ab53
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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/

0 comments on commit bf2ab53

Please sign in to comment.