Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
dotnet-version: |
8.0.x
9.0.x
10.0.x

- name: Verify code format
if: matrix.os == 'ubuntu-latest'
Expand All @@ -52,15 +53,11 @@ jobs:

- name: Run unit tests ubuntu
if: matrix.os == 'ubuntu-latest'
env:
RuntimeIdentifier: unix
run: dotnet test -c ${{ env.configuration }}
working-directory: './src'

- name: Run unit tests macos
if: matrix.os == 'macos-latest'
env:
RuntimeIdentifier: unix
run: dotnet test -c ${{ env.configuration }}
working-directory: './src'

Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
8 changes: 8 additions & 0 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="MSTest" Version="4.0.2" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions src/WCharT.Net.Tests/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[assembly: Parallelize]
6 changes: 2 additions & 4 deletions src/WCharT.Net.Tests/WCharT.Net.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
<PropertyGroup>
<IsPackable>false</IsPackable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RootNamespace>WCHarT.Tests</RootNamespace>
<RootNamespace>WCharT.Tests</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.9.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.9.2" />
<PackageReference Include="MSTest" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 6 additions & 0 deletions src/WCharT.Net/WCharT.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,17 @@

<ItemGroup>
<None Include="../../readme.md" Pack="true" PackagePath="/" Visible="false"/>

<None Include="obj/Release/net8.0/ref/WCharT.Net.dll" Pack="true" PackagePath="ref/net8.0" Visible="false"/>
<None Include="bin/Release/net8.0/unix/WCharT.Net.dll" Pack="true" PackagePath="runtimes/unix/lib/net8.0" Visible="false"/>
<None Include="bin/Release/net8.0/win/WCharT.Net.dll" Pack="true" PackagePath="runtimes/win/lib/net8.0" Visible="false"/>

<None Include="obj/Release/net9.0/ref/WCharT.Net.dll" Pack="true" PackagePath="ref/net9.0" Visible="false"/>
<None Include="bin/Release/net9.0/unix/WCharT.Net.dll" Pack="true" PackagePath="runtimes/unix/lib/net9.0" Visible="false"/>
<None Include="bin/Release/net9.0/win/WCharT.Net.dll" Pack="true" PackagePath="runtimes/win/lib/net9.0" Visible="false"/>

<None Include="obj/Release/net10.0/ref/WCharT.Net.dll" Pack="true" PackagePath="ref/net10.0" Visible="false"/>
<None Include="bin/Release/net10.0/unix/WCharT.Net.dll" Pack="true" PackagePath="runtimes/unix/lib/net10.0" Visible="false"/>
<None Include="bin/Release/net10.0/win/WCharT.Net.dll" Pack="true" PackagePath="runtimes/win/lib/net10.0" Visible="false"/>
</ItemGroup>
</Project>
38 changes: 0 additions & 38 deletions src/WCharT.sln

This file was deleted.

15 changes: 15 additions & 0 deletions src/WCharT.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<Solution>
<Folder Name="/SolutionItems/">
<File Path="../.github/dependabot.yml" />
<File Path="../.github/workflows/ci.yml" />
<File Path="../.gitignore" />
<File Path="../readme.md" />
<File Path="build.fsx" />
<File Path="Directory.Build.props" />
<File Path="Directory.Packages.props" />
</Folder>
<Folder Name="/src/">
<Project Path="WCharT.Net.Tests/WCharT.Net.Tests.csproj" />
<Project Path="WCharT.Net/WCharT.Net.csproj" />
</Folder>
</Solution>