Files
UA-.NETStandard/Tests/benchmarks.cmd
T
Martin Regen 343f7b0fbc Add custom test targets to the build process, support for .NET 8. (#2410)
The goal is to reduce the overall number of builds, stop using end of life platforms in the build pipeline and to support
build of future/deprecated build targets in a custom build step, which is also triggered weekly in the ci builds.

In addition:
- added a doc which describes the release and versioning strategy of this project
- produce the Nuget packges with .NET 8 assemblies.
- produce a Docker build based on a .NET 8 based container.
- add custom test targets to test outdated platforms. Need a manual step to enable for VS or command line.
- bug fixes: the latest move to an alternate crypto library for Bouncy Castle, which is only used for the GDS support and  .NET Framework 4.6.2./netstandard2.0, revealed already a few issues which were previously not found. 
- only .NET8/.NET6/.NET Framework 4.8 are tested in Pull requests. Remaining builds in weekly scheduled builds.
2023-12-07 12:03:37 +01:00

26 lines
988 B
Batchfile

@REM Copyright (c) OPC Foundation. All rights reserved.
@REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
@setlocal EnableExtensions EnableDelayedExpansion
@echo off
set current-path=%~dp0
rem // remove trailing slash
set current-path=%current-path:~0,-1%
set build_root=%current-path%\..
set framework=net48
set runtimes=net48 net6.0 net8.0
set filter=*
cd %build_root%
cd Tests\Opc.Ua.Security.Certificates.Tests\
dotnet run -v n --configuration Release --framework %framework% -- --filter %filter% --runtimes %runtimes%
cd ..\Opc.Ua.Core.Tests
dotnet run -v n --configuration Release --framework %framework% -- --filter %filter% --runtimes %runtimes%
cd ..\Opc.Ua.Server.Tests
dotnet run -v n --configuration Release --framework %framework% -- --filter %filter% --runtimes %runtimes%
cd ..\Opc.Ua.Client.Tests
dotnet run -v n --configuration Release --framework %framework% -- --filter %filter% --runtimes %runtimes%
cd ..