2024-02-09 10:32:20 +01:00
|
|
|
name: Test Builds
|
|
|
|
|
|
|
|
on:
|
2024-02-09 10:34:52 +01:00
|
|
|
push:
|
|
|
|
branches: [ development ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ development ]
|
2024-02-09 10:32:20 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
2024-02-10 01:28:00 +01:00
|
|
|
- uses: actions/checkout@v4
|
2024-02-09 10:32:20 +01:00
|
|
|
- name: Setup MSBuild
|
2024-02-10 01:28:00 +01:00
|
|
|
uses: microsoft/setup-msbuild@v2
|
2024-02-09 10:32:20 +01:00
|
|
|
- name: Restore Packages
|
2024-02-10 01:28:00 +01:00
|
|
|
run: msbuild XenAdmin.sln -t:restore
|
2024-02-09 10:32:20 +01:00
|
|
|
- name: Build Release solution
|
|
|
|
run: msbuild XenAdmin.sln -property:Configuration=Release
|
2024-02-10 01:28:00 +01:00
|
|
|
- name: Build Debug solution
|
|
|
|
run: msbuild XenAdmin.sln -property:Configuration=Debug
|
2024-02-09 10:32:20 +01:00
|
|
|
- name: Upload Release Artifacts
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
name: drop-release
|
|
|
|
path: XenAdmin/bin/Release/net481
|
|
|
|
- name: Upload Debug Artifacts
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
name: drop-debug
|
|
|
|
path: XenAdmin/bin/Debug/net481
|