Skip to content

Commit

Permalink
Added net8 builds for netcore console. Removed diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
OsirisTerje committed Apr 3, 2024
1 parent 93694a7 commit ee67b1b
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 19 deletions.
38 changes: 20 additions & 18 deletions .github/workflows/NUnitConsoleAndEngine.CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,26 @@ jobs:
run: dotnet tool restore

- name: 🔨 Build and Test
run: dotnet tool run dotnet-cake --verbosity=diagnostic --target=Test --test-run-name=Windows --configuration=Release

- name: 📦 Package
run: dotnet tool run dotnet-cake --target=Package

- name: 💾 Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: Package
path: package

- name: 💾 Upload test results
uses: actions/upload-artifact@v4
with:
name: Test results (Windows)
path: test-results
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}
run: dotnet tool run dotnet-cake --target=Test --test-run-name=Windows --configuration=Release
# If you need to get more verbose logging, add the following to the dotnet-cake above: --verbosity=diagnostic

# Wait with this until package errors (tests following packaging) are all fixed
# - name: 📦 Package
# run: dotnet tool run dotnet-cake --target=Package

# - name: 💾 Upload build artifacts
# uses: actions/upload-artifact@v4
# with:
# name: Package
# path: package

# - name: 💾 Upload test results
# uses: actions/upload-artifact@v4
# with:
# name: Test results (Windows)
# path: test-results
# # Use always() to always run this step to publish test results when there are test failures
# if: ${{ always() }}

# build-linux:
# name: Linux Build
Expand Down
2 changes: 1 addition & 1 deletion build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ set DOTNET_NOLOGO=1
dotnet tool restore
@if %ERRORLEVEL% neq 0 goto :eof

dotnet cake --verbosity=diagnostic %*
dotnet cake %*
18 changes: 18 additions & 0 deletions nuget/runners/nunit.console-runner.netcore.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,24 @@
<file src="net6.0/testcentric.engine.metadata.dll" target="tools/net6.0/any" />
<file src="../../nuget/runners/nunit.console.nuget.addins" target="tools/net6.0/any"/>
<file src="../../nuget/runners/DotnetToolSettings.xml" target="tools/net6.0/any"/>

<file src="net8.0/nunit3-console.exe" target="tools/net8.0/any" />
<file src="net8.0/nunit3-console.pdb" target="tools/net8.0/any" />
<file src="net8.0/nunit3-console.dll" target="tools/net8.0/any" />
<file src="net8.0/nunit3-console.dll.config" target="tools/net8.0/any" />
<file src="net8.0/nunit3-console.deps.json" target="tools/net8.0/any" />
<file src="net8.0/nunit3-console.runtimeconfig.json" target="tools/net8.0/any" />
<file src="net8.0/nunit.engine.core.dll" target="tools/net8.0/any" />
<file src="net8.0/nunit.engine.core.pdb" target="tools/net8.0/any" />
<file src="net8.0/nunit.engine.dll" target="tools/net8.0/any" />
<file src="net8.0/nunit.engine.pdb" target="tools/net8.0/any" />
<file src="net8.0/nunit.engine.api.dll" target="tools/net8.0/any" />
<file src="net8.0/nunit.engine.api.pdb" target="tools/net8.0/any" />
<file src="net8.0/nunit.engine.api.xml" target="tools/net8.0/any" />
<file src="net8.0/testcentric.engine.metadata.dll" target="tools/net8.0/any" />
<file src="../../nuget/runners/nunit.console.nuget.addins" target="tools/net8.0/any"/>
<file src="../../nuget/runners/DotnetToolSettings.xml" target="tools/net8.0/any"/>

<file src="../../nunit_256.png" target="images"/>
</files>
</package>

0 comments on commit ee67b1b

Please sign in to comment.