-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DO NOT MERGE! Github Actions build + annotations test #3371
Closed
Closed
Changes from 10 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
df1134b
test: Build into `dist/` folder
AlanRynne af7a134
test: Only do so on CI
AlanRynne 2cc5d97
test: Zipping output to dist/zip
AlanRynne 7e3d429
test: Super simple github action
AlanRynne eb67ea7
test: dotnet msbuild
AlanRynne 0b71b88
test: Just speeding it up by skipping steps 🙂
AlanRynne e38b7f8
test: Too much
AlanRynne 7b1abff
temp: Silence Core and Objects warnings in CI for now
AlanRynne aded3d5
fix: Do only on CI
AlanRynne d2d635a
test warn as error in github
AlanRynne b9cbe51
test: GitVersion this thing!
AlanRynne 228e26f
fix: Dotnet-version
AlanRynne 55bf0bd
fetch depth of 0
AlanRynne 72a14ca
fix: Removed invalid configurations
AlanRynne 6f6e26f
fix long restore?
AlanRynne aa076df
just archive the entire zip folder
AlanRynne 7a19ac6
use normal nuget?
AlanRynne f1d9fc8
restore all.sln
AlanRynne dc73ade
Merge branch 'dui3/alpha' into dui3/ci/github-actions-test
AlanRynne 14b1888
use msbuild restore?
AlanRynne d68d3ce
teaks to target
AlanRynne 5db7226
no zipping
AlanRynne 8eb0471
restore using lock files test
AlanRynne e8d5efb
minor tweaks
AlanRynne c0757a3
match to fallback key if nuget cache is not found
AlanRynne bb0cd46
run restore in lock mode, don't skip
AlanRynne 4f32553
update gitversion and lock files
AlanRynne 1be25c5
fix: update lock files
AlanRynne 713c713
no gitversion 🥲
AlanRynne 623cf71
even less :D
AlanRynne f8df726
no cache and use global.json
AlanRynne 6bf6d8a
rel path
AlanRynne 45011c8
❌
AlanRynne bf9b554
🔓
AlanRynne File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,36 @@ | ||
# This workflow will build a .NET project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | ||
|
||
name: .NET | ||
|
||
on: | ||
push: | ||
branches: ["dui3/alpha", "dui3/ci/*"] | ||
pull_request: | ||
branches: ["dui3/alpha"] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 7.x.x | ||
- name: Add msbuild to PATH | ||
uses: microsoft/setup-msbuild@v2 | ||
# - name: Restore tools | ||
# run: dotnet tool restore | ||
# - name: Code formatting check | ||
# run: dotnet csharpier --check . | ||
- name: Restore projects | ||
run: dotnet restore DUI3-DX.slnf | ||
- name: Build | ||
run: msbuild DUI3-DX.slnf /p:Configuration=Release /p:IsDesktopBuild=false | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: DUI3 Connectors | ||
path: dist/zip/*.zip |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.targets', '$(MSBuildThisFileDirectory)../'))"/> | ||
|
||
|
||
<Target Name="CopyToDistAndZip" AfterTargets="Build" Condition="'$(IsDesktopBuild)' == false"> | ||
|
||
<Error Text="ConnectorSlug property is not set" Condition=" '$(ConnectorSlug)' == '' " /> | ||
<Error Text="ConnectorVersion property is not set" Condition=" '$(ConnectorVersion)' == '' " /> | ||
|
||
<PropertyGroup> | ||
<OutputDirectory>$(RepositoryRoot)/dist/$(ConnectorSlug)/$(ConnectorVersion)</OutputDirectory> | ||
<OutputZipDirectory>$(RepositoryRoot)/dist/zip</OutputZipDirectory> | ||
<OutputZipFile>$(ConnectorSlug)-$(ConnectorVersion)-$(Version).zip</OutputZipFile> | ||
</PropertyGroup> | ||
|
||
<RemoveDir Directories="$(OutputDirectory)"/> | ||
<MakeDir Directories="$(OutputDirectory)"/> | ||
<MakeDir Directories="$(OutputZipDirectory)"/> | ||
|
||
<ItemGroup> | ||
<DllFiles Include="$(OutDir)**/*.*"/> | ||
</ItemGroup> | ||
|
||
<Copy SourceFiles="@(DllFiles)" DestinationFolder="$(OutputDirectory)/%(RecursiveDir)"/> | ||
|
||
<ZipDirectory SourceDirectory="$(OutputDirectory)" DestinationFile="$(OutputZipDirectory)/$(OutputZipFile)"/> | ||
|
||
</Target> | ||
</Project> |
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
1 change: 1 addition & 0 deletions
1
DUI3-DX/Converters/Rhino/Speckle.Converters.Rhino7/ToHost/Raw/ArcToHostConverter.cs
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if this helps but using bullseye and C# instead of msbuild is what I do: https://github.com/adamralph/bullseye
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I've been eyeing some build systems for a while but didn't know about this one. Adding it to my "must look into" list!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that the build is the same language as the project and not XML.
I used to use (and contribute) to Cake but thought it was overblown. Found bullseye and used it ever since dotnet got simple and fast