-
Notifications
You must be signed in to change notification settings - Fork 634
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream'
- Loading branch information
Showing
678 changed files
with
37,603 additions
and
30,656 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
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 |
---|---|---|
@@ -1,53 +1,41 @@ | ||
# Build DynamoAll.sln with .NET 6.0 | ||
name: Build DynamoAll.sln net6.0 | ||
|
||
on: [push,pull_request] | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout Dynamo Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
path: Dynamo | ||
repository: DynamoDS/Dynamo | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '6.0.x' | ||
- name: Disable problem matcher | ||
run: echo "::remove-matcher owner=csc::" | ||
|
||
- name: Install dependencies for windows runtime | ||
run: | | ||
dotnet restore $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-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\Dynamo.All.sln /p:Configuration=Release | ||
# look for Dynamo | ||
- name: Navigate to Dynamo Windows Folder | ||
run: | | ||
cd "$Env:GITHUB_WORKSPACE\Dynamo\bin\AnyCPU\Release" | ||
echo "***Locating DynamoCLI for Windows!***" | ||
test ".\DynamoCLI.exe" && echo "DynamoCLI exists!" | ||
- name: Upload Build Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: DynamoSandbox | ||
path: ${{ github.workspace }}\Dynamo\bin\AnyCPU\Release | ||
if-no-files-found: warn | ||
retention-days: 3 | ||
- name: Save Pull Request Number | ||
env: | ||
PR_NUMBER: ${{ github.event.number }} | ||
run: $env:PR_NUMBER | Out-File -FilePath pr_number.txt | ||
- name: Upload Pull Request Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: pr_number | ||
path: ${{ github.workspace }}\pr_number.txt | ||
if-no-files-found: warn | ||
retention-days: 3 | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout Dynamo Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
path: Dynamo | ||
repository: DynamoDS/Dynamo | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '6.0.x' | ||
- name: Disable problem matcher | ||
run: Write-Output "::remove-matcher owner=csc::" | ||
- name: Setup msbuild | ||
uses: microsoft/[email protected] | ||
- name: Install dependencies for windows runtime | ||
run: | | ||
dotnet restore ${{ github.workspace }}\Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64 -p:DotNet=net6.0 | ||
- name: Build Dynamo with MSBuild for Windows | ||
run: | | ||
Write-Output "***Continue with the build, Good luck developer!***" | ||
msbuild ${{ github.workspace }}\Dynamo\src\Dynamo.All.sln /p:Configuration=Release /p:DotNet=net6.0 | ||
- name: Look for DynamoCLI.exe | ||
run: | | ||
Write-Output "***Locating DynamoCLI.exe!***" | ||
if (Test-Path -Path "${{ github.workspace }}\Dynamo\bin\AnyCPU\Release\DynamoCLI.exe") { | ||
Write-Output "DynamoCLI.exe exists!" | ||
} else { | ||
Write-Error "DynamoCLI.exe was not found!" | ||
} |
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 |
---|---|---|
@@ -1,53 +1,63 @@ | ||
# Build DynamoAll.sln with .NET 8.0 | ||
name: Build DynamoAll.sln net8.0 | ||
|
||
on: [push,pull_request] | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout Dynamo Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
path: Dynamo | ||
repository: DynamoDS/Dynamo | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '8.0.x' | ||
- name: Disable problem matcher | ||
run: echo "::remove-matcher owner=csc::" | ||
|
||
- name: Install dependencies for windows runtime | ||
run: | | ||
dotnet restore $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64 -p:DotNet=net8.0 | ||
- 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\Dynamo.All.sln /p:Configuration=Release /p:DotNet=net8.0 | ||
# look for Dynamo | ||
- name: Navigate to Dynamo Windows Folder | ||
run: | | ||
cd "$Env:GITHUB_WORKSPACE\Dynamo\bin\AnyCPU\Release" | ||
echo "***Locating DynamoCLI for Windows!***" | ||
test ".\DynamoCLI.exe" && echo "DynamoCLI exists!" | ||
- name: Upload Build Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: DynamoSandbox | ||
path: ${{ github.workspace }}\Dynamo\bin\AnyCPU\Release | ||
if-no-files-found: warn | ||
retention-days: 3 | ||
- name: Save Pull Request Number | ||
env: | ||
PR_NUMBER: ${{ github.event.number }} | ||
run: $env:PR_NUMBER | Out-File -FilePath pr_number.txt | ||
- name: Upload Pull Request Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: pr_number | ||
path: ${{ github.workspace }}\pr_number.txt | ||
if-no-files-found: warn | ||
retention-days: 3 | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout Dynamo Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
path: Dynamo | ||
repository: DynamoDS/Dynamo | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '8.0.x' | ||
- name: Disable problem matcher | ||
run: Write-Output "::remove-matcher owner=csc::" | ||
- name: Setup msbuild | ||
uses: microsoft/[email protected] | ||
- name: Install dependencies for windows runtime | ||
run: | | ||
dotnet restore ${{ github.workspace }}\Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64 -p:DotNet=net8.0 | ||
- name: Build Dynamo with MSBuild for Windows | ||
run: | | ||
Write-Output "***Continue with the build, Good luck developer!***" | ||
msbuild ${{ github.workspace }}\Dynamo\src\Dynamo.All.sln /p:Configuration=Release /p:DotNet=net8.0 | ||
- name: Look for DynamoCLI.exe | ||
run: | | ||
Write-Output "***Locating DynamoCLI.exe!***" | ||
if (Test-Path -Path "${{ github.workspace }}\Dynamo\bin\AnyCPU\Release\DynamoCLI.exe") { | ||
Write-Output "DynamoCLI.exe exists!" | ||
} else { | ||
Write-Error "DynamoCLI.exe was not found!" | ||
} | ||
- name: Upload Build Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: DynamoSandbox | ||
path: ${{ github.workspace }}\Dynamo\bin\AnyCPU\Release | ||
if-no-files-found: warn | ||
retention-days: 3 | ||
save_pr_data: | ||
name: Save PR Data | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Save PR Data | ||
run: | | ||
mkdir -p ${{ github.workspace }}/pr | ||
echo ${{ github.event.number }} > ${{ github.workspace }}/pr/pr_number.txt | ||
- name: Upload PR Data | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: pr_data | ||
path: ${{ github.workspace }}/pr | ||
if-no-files-found: warn | ||
retention-days: 3 |
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,38 @@ | ||
# Build DynamoCore.sln with .NET 6.0 on linux | ||
name: Build DynamoCore.sln net6.0 linux | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Dynamo Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
path: Dynamo | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v4 | ||
- name: Disable problem matcher | ||
run: echo "::remove-matcher owner=csc::" | ||
- name: Install dependencies for linux runtime | ||
run: dotnet restore ${{ github.workspace }}/Dynamo/src/DynamoCore.sln -p:Platform=NET60_Linux --runtime=linux-x64 | ||
- name: Build Dynamo with MSBuild for Linux | ||
run: | | ||
echo "***Continue with the build, Good luck developer!***" | ||
dotnet build ${{ github.workspace }}/Dynamo/src/DynamoCore.sln -c Release /p:Platform=NET60_Linux | ||
- name: Look for DynamoCLI.exe | ||
run: | | ||
cd "${{ github.workspace }}/Dynamo/bin/NET60_Linux/Release" | ||
echo "***Locating DynamoCLI for Linux!***" | ||
test "./DynamoCLI.exe" && echo "DynamoCLI exists!" | ||
- name: Run smoke tests | ||
run: | | ||
cd "${{ github.workspace }}/Dynamo/bin/NET60_Linux/Release" | ||
echo "***Running Smoke tests on linux***" | ||
#TODO unfortunately dotnet does not find any tests in this assembly. | ||
#dotnet test DynamoCoreTests.dll --filter "TestCategory~UnitTest" |
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,55 @@ | ||
# Build DynamoCore.sln with .NET 6.0 on windows | ||
name: Build DynamoCore.sln net6.0 windows | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout Dynamo Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
path: Dynamo | ||
repository: DynamoDS/Dynamo | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '6.0.x' | ||
- name: Disable problem matcher | ||
run: Write-Output "::remove-matcher owner=csc::" | ||
- name: Setup msbuild | ||
uses: microsoft/[email protected] | ||
- name: Install dependencies for windows runtime | ||
run: | | ||
dotnet restore ${{ github.workspace }}\Dynamo\src\DynamoCore.sln /p:Configuration=Release --runtime=win-x64 | ||
- name: Build Dynamo with MSBuild for Windows | ||
run: | | ||
Write-Output "***Continue with the build, Good luck developer!***" | ||
msbuild ${{ github.workspace }}\Dynamo\src\DynamoCore.sln /p:Configuration=Release | ||
- name: Look for DynamoCLI.exe | ||
run: | | ||
Write-Output "***Locating DynamoCLI.exe!***" | ||
if (Test-Path -Path "${{ github.workspace }}\Dynamo\bin\AnyCPU\Release\DynamoCLI.exe") { | ||
Write-Output "DynamoCLI.exe exists!" | ||
} else { | ||
Write-Error "DynamoCLI.exe was not found!" | ||
} | ||
- name: Install dependencies for linux runtime | ||
run: dotnet restore ${{ github.workspace }}\Dynamo\src\DynamoCore.sln -p:Platform=NET60_Linux --runtime=linux-x64 | ||
- name: Build Dynamo with MSBuild for Linux | ||
run: | | ||
Write-Output "***Continue with the build, Good luck developer!***" | ||
msbuild ${{ github.workspace }}\Dynamo\src\DynamoCore.sln /p:Configuration=Release /p:Platform=NET60_Linux | ||
- name: Look for DynamoCLI | ||
run: | | ||
Write-Output "***Locating DynamoCLI for Linux!***" | ||
if (Test-Path -Path "${{ github.workspace }}\Dynamo\bin\NET60_Linux\Release\DynamoCLI") { | ||
Write-Output "DynamoCLI exists!" | ||
} else { | ||
Write-Error "DynamoCLI was not found!" | ||
} |
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.