Change to artifact output, add CI
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Deukhoofd 2025-05-03 14:47:06 +02:00
parent 441f5dddaf
commit 2fa7bf130d
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
6 changed files with 29 additions and 13 deletions

12
.drone.yml Normal file
View File

@ -0,0 +1,12 @@
---
kind: pipeline
name: default
type: docker
steps:
- name: test-debug-linux
image: mcr.microsoft.com/dotnet/sdk:9.0-alpine
environment:
HUSKY: 0
commands:
- dotnet test -c Release

View File

@ -2,4 +2,16 @@
<PropertyGroup> <PropertyGroup>
<PathMap>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))=./</PathMap> <PathMap>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))=./</PathMap>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<UseArtifactsOutput>true</UseArtifactsOutput>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0"/>
<PackageReference Include="PolySharp" Version="1.15.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project> </Project>

View File

@ -18,11 +18,6 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="FluentResults" Version="3.16.0"/> <PackageReference Include="FluentResults" Version="3.16.0"/>
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0"/>
<PackageReference Include="PolySharp" Version="1.15.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Collections.Immutable" Version="8.0.0"/> <PackageReference Include="System.Collections.Immutable" Version="8.0.0"/>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -18,10 +18,6 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="PcgRandom" Version="1.2.0"/> <PackageReference Include="PcgRandom" Version="1.2.0"/>
<PackageReference Include="PolySharp" Version="1.15.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Collections.Immutable" Version="8.0.0"/> <PackageReference Include="System.Collections.Immutable" Version="8.0.0"/>
</ItemGroup> </ItemGroup>

View File

@ -6,8 +6,6 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject> <IsTestProject>true</IsTestProject>
<NoWarn> <NoWarn>
<!-- Don't show warning to make method static for our tests. --> <!-- Don't show warning to make method static for our tests. -->
CA1822 CA1822

View File

@ -1,12 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject> <IsTestProject>true</IsTestProject>
<NoWarn>
<!-- Don't show warning to make method static for our tests. -->
CA1822
</NoWarn>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>