forked from DynamoDS/Dynamo
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (27 loc) · 996 Bytes
/
dynamoMSbuild.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Build Dynamo using latest VS and DotNET
name: Dynamo-VS2019Build
on: [push,pull_request]
jobs:
build:
runs-on: windows-2019
steps:
- name: Checkout Dynamo Repo
uses: actions/checkout@v2
with:
path: Dynamo
repository: DynamoDS/Dynamo
- name: Setup Nuget.exe to use on VM
uses: nuget/setup-nuget@v1
- name: Nuget Restore in Dynamo solution
run: nuget restore $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln
- name: Build Dynamo with MSBuild
run: |
echo "***Continue with the build, Good luck developer!***"
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\"
.\MSBuild.exe $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln
# look for Dynamo
- name: Navigate to Dynamo Folder
run: |
cd "$Env:GITHUB_WORKSPACE\Dynamo\bin\AnyCPU\Debug"
echo "***Locating DynamoSandbox!***"
test ".\DynamoSandbox.exe" && echo "DynamoSandbox exists!"