diff options
author | Sadie Powell <sadie@witchery.services> | 2022-01-13 01:17:52 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-01-13 01:59:13 +0000 |
commit | 1ee81580c63b4548935687f93e074905b26abddc (patch) | |
tree | 861ed2deed14009131d25db53705617582571946 /.github | |
parent | 4f421db5a9f7ec8089fc5e45bbfbba1356203c46 (diff) |
Add support for Windows CI.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci-windows.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml new file mode 100644 index 000000000..d3cafa0fe --- /dev/null +++ b/.github/workflows/ci-windows.yml @@ -0,0 +1,25 @@ +name: Windows CI +on: + pull_request: + push: + schedule: + - cron: '0 0 * * 0' +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + + - name: Setup MSBuild + uses: microsoft/setup-msbuild@v1.1.0 + + - name: Run CMake + run: | + mkdir ${{ github.workspace }}\build + cd ${{ github.workspace }}\build + cmake -A "x64" -G "Visual Studio 16 2019" .. + + - name: Build Anope + working-directory: ${{ github.workspace }}\build + run: | + msbuild Anope.sln /M:3 /P:Configuration=Release /P:Platform=x64 /T:ALL_BUILD |