-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add ability to test multiple OSes #275
Open
networkfusion
wants to merge
28
commits into
main
Choose a base branch
from
test-pipeline-build
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
54b8c91
Add ability to test multiple OSes
networkfusion 8d5bf3a
Test using GH action instead
networkfusion be53542
Merge branch 'main' into test-pipeline-build
networkfusion 6b7e1dd
Add smoke build content
networkfusion 11b20dc
Fix yaml
networkfusion 58f6a7e
Further fix.
networkfusion c046b0a
Only smoketest windows to start.
networkfusion 2873780
Install nbgv tool
networkfusion ddc161c
Update nbgv
networkfusion 2296a34
let solution restore nugets
networkfusion e6a477b
Handle versioning
networkfusion ead74ff
Add GH token
networkfusion b0a4c62
Temp uninstall GH versioning.
networkfusion bf7bea2
Run on all platforms
networkfusion 72e336a
Improve build speed
networkfusion a13595f
Re-add Nerdbank.GitVersioning to tool
networkfusion 0b69689
Merge branch 'main' into test-pipeline-build
networkfusion b49b414
Test copying version file
networkfusion cb81678
Use fetch-depth for versioning.
networkfusion 3eb4a20
Try a full depth collection.
networkfusion 36341f8
Re-add versioning to lib.
networkfusion 225a934
Revert build option change
networkfusion 18dbd28
Improve smoketest CI
networkfusion 46d89c5
Remove env
networkfusion 9d4b1c1
Revert discord webhook pool change.
networkfusion 75f2144
Add build to handle .Net Mono
networkfusion 1a485dc
Change matrix for net6
networkfusion 57f18b4
Merge branch 'main' into test-pipeline-build
networkfusion 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,32 @@ | ||
name: Smoke-Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
strategy: | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-latest] | ||
dotnet-ver: ['8.0.x', '6.0.x'] # 6.0.x is the latest version available for .Net Mono | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: '0' # Allow all history to be fetched (required for versioning). | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: ${{ matrix.dotnet-ver }} | ||
|
||
- name: Build solution | ||
run: dotnet build |
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 |
---|---|---|
|
@@ -164,7 +164,7 @@ jobs: | |
- name: DOTNET_NOLOGO | ||
value: true | ||
- name: buildPlatform | ||
value: 'x64' | ||
value: 'x64' # TODO: Attempt to aim for Arm64 builds | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Update Windows-specific elements for compatibility with Ubuntu. Please ensure that all Windows-specific elements such as PowerShell scripts, Windows-style paths, and environment variables are updated or replaced to ensure compatibility with the |
||
- name: buildConfiguration | ||
value: 'Release' | ||
- name: solution | ||
|
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.
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.
I'm not a super huge fan of testing on MacOS for costs reasons. So we will have to be very careful or run it on demand.
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.
The
macos-latest
is a hosted (free) runner, To get the "full" benefit, it would be great to run on themacos-latest-xlarge
image (as it builds on arm64) but that does indeed incur costs. Ultimately we need to wait for a free linux runner that is able to run onarm64
.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.
But, would also add that there are lots of warnings that are made visible by having this smoke test.
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.
Great then!