-
Notifications
You must be signed in to change notification settings - Fork 635
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cross platform DynamoCore local setup (part1) (#13547)
* Local config for dotnet6 target framework Co-authored-by: pinzart <[email protected]>
- Loading branch information
Showing
37 changed files
with
750 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Build Dynamo using latest VS and DotNET | ||
name: Dynamo-net6.0-Build | ||
on: [push,pull_request] | ||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout Dynamo Repo | ||
uses: actions/checkout@v2 | ||
with: | ||
path: Dynamo | ||
repository: DynamoDS/Dynamo | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '6.0.x' | ||
- name: Install dependencies for windows runtime | ||
run: dotnet restore $Env:GITHUB_WORKSPACE\Dynamo\src\DynamoCore.net6.sln --runtime=win10-x64 | ||
- name: Build Dynamo with MSBuild for Windows | ||
run: | | ||
echo "***Continue with the build, Good luck developer!***" | ||
cd "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\" | ||
.\MSBuild.exe $Env:GITHUB_WORKSPACE\Dynamo\src\DynamoCore.net6.sln /p:Configuration=Release /p:Platform=NET60_Windows | ||
# look for Dynamo | ||
- name: Navigate to Dynamo Windows Folder | ||
run: | | ||
cd "$Env:GITHUB_WORKSPACE\Dynamo\bin\NET60_Windows\Release" | ||
echo "***Locating DynamoCLI for Windows!***" | ||
test ".\DynamoCLI.exe" && echo "DynamoCLI exists!" | ||
- name: Install dependencies for linux runtime | ||
run: dotnet restore $Env:GITHUB_WORKSPACE\Dynamo\src\DynamoCore.net6.sln --runtime=linux-x64 | ||
- name: Build Dynamo with MSBuild for Linux | ||
run: | | ||
echo "***Continue with the build, Good luck developer!***" | ||
cd "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\" | ||
.\MSBuild.exe $Env:GITHUB_WORKSPACE\Dynamo\src\DynamoCore.net6.sln /p:Configuration=Release /p:Platform=NET60_Linux | ||
- name: Navigate to Dynamo Linux Folder | ||
run: | | ||
cd "$Env:GITHUB_WORKSPACE\Dynamo\bin\NET60_Linux\Release" | ||
echo "***Locating DynamoCLI for Linux!***" | ||
test ".\DynamoCLI.exe" && echo "DynamoCLI exists!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.