Skip to content

Commit

Permalink
Merge pull request #401 from ikvmnet/net6
Browse files Browse the repository at this point in the history
.NET 6.0
  • Loading branch information
wasabii committed Aug 6, 2023
2 parents 1c070a9 + 05a40a1 commit ae6e9d9
Show file tree
Hide file tree
Showing 188 changed files with 1,483 additions and 792 deletions.
97 changes: 42 additions & 55 deletions .github/workflows/IKVM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,8 @@ jobs:
- IKVM.ByteCode.Tests
- IKVM.Tests
- IKVM.Java.Tests
- IKVM.Tools.Importer.Tests
- IKVM.Tools.Exporter.Tests
- IKVM.Tools.Importer.Tests
- IKVM.Tools.Tests
- IKVM.JTReg.TestAdapter.Tests
- IKVM.OpenJDK.Tests?TestPartition=0
Expand All @@ -418,78 +418,44 @@ jobs:
- IKVM.OpenJDK.Tests?TestPartition=7
tfm:
- net461
- netcoreapp3.1
- net6.0
- net7.0
sys:
- windows
- linux
exclude:
- tfm: net461
sys: linux
- run: IKVM.Java.Tests
tfm: net6.0
- run: IKVM.Tools.Exporter.Tests
tfm: net6.0
- run: IKVM.Tools.Importer.Tests
tfm: net6.0
- run: IKVM.OpenJDK.Tests?TestPartition=0
tfm: net6.0
- run: IKVM.OpenJDK.Tests?TestPartition=1
tfm: net6.0
- run: IKVM.OpenJDK.Tests?TestPartition=2
tfm: net6.0
- run: IKVM.OpenJDK.Tests?TestPartition=3
tfm: net6.0
- run: IKVM.OpenJDK.Tests?TestPartition=4
tfm: net6.0
- run: IKVM.OpenJDK.Tests?TestPartition=5
tfm: net6.0
- run: IKVM.OpenJDK.Tests?TestPartition=6
tfm: net6.0
- run: IKVM.OpenJDK.Tests?TestPartition=7
tfm: net6.0
- run: IKVM.Java.Tests
tfm: net7.0
- run: IKVM.Tools.Exporter.Tests
tfm: net7.0
tfm: net461
- run: IKVM.Tools.Importer.Tests
tfm: net7.0
- run: IKVM.OpenJDK.Tests?TestPartition=0
tfm: net7.0
- run: IKVM.OpenJDK.Tests?TestPartition=1
tfm: net7.0
- run: IKVM.OpenJDK.Tests?TestPartition=2
tfm: net7.0
- run: IKVM.OpenJDK.Tests?TestPartition=3
tfm: net7.0
- run: IKVM.OpenJDK.Tests?TestPartition=4
tfm: net7.0
- run: IKVM.OpenJDK.Tests?TestPartition=5
tfm: net7.0
- run: IKVM.OpenJDK.Tests?TestPartition=6
tfm: net7.0
- run: IKVM.OpenJDK.Tests?TestPartition=7
tfm: net7.0
tfm: net461
- run: IKVM.Tools.Tests
tfm: net461
include:
- run: IKVM.MSBuild.Tasks.Tests
tfm: net472
- run: IKVM.ByteCode.Tests
tfm: netcoreapp3.1
sys: windows
- run: IKVM.MSBuild.Tasks.Tests
- run: IKVM.ByteCode.Tests
tfm: netcoreapp3.1
sys: linux
- run: IKVM.Java.Tests
tfm: netcoreapp3.1
sys: windows
- run: IKVM.Java.Tests
tfm: netcoreapp3.1
sys: linux
- run: IKVM.JTReg.TestAdapter.Tests
tfm: net7.0
sys: windows
- run: IKVM.JTReg.TestAdapter.Tests
tfm: net7.0
sys: linux
- run: IKVM.MSBuild.Tasks.Tests
tfm: net6.0
tfm: net472
sys: windows
- run: IKVM.MSBuild.Tasks.Tests
tfm: net7.0
sys: windows
- run: IKVM.MSBuild.Tasks.Tests
tfm: netcoreapp3.1
sys: linux
- run: IKVM.MSBuild.Tasks.Tests
tfm: net6.0
sys: linux
- run: IKVM.MSBuild.Tasks.Tests
tfm: net7.0
sys: linux
Expand All @@ -505,6 +471,27 @@ jobs:
- run: IKVM.NET.Sdk.Tests
tfm: net7.0
sys: linux
- run: IKVM.Tests
tfm: net7.0
sys: windows
- run: IKVM.Tests
tfm: net7.0
sys: linux
- run: IKVM.Tools.Exporter.Tests
tfm: net472
sys: windows
- run: IKVM.Tools.Importer.Tests
tfm: net472
sys: windows
- run: IKVM.Tools.Tests
tfm: net472
sys: windows
- run: IKVM.Tools.Tests
tfm: net7.0
sys: windows
- run: IKVM.Tools.Tests
tfm: net7.0
sys: linux
name: Test (${{ matrix.run }}:${{ matrix.tfm }}:${{ matrix.sys }})
needs:
- build-ikvm
Expand Down
23 changes: 23 additions & 0 deletions ext/helloworld/net461/HelloWorldDotNet.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v3.1",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v3.1": {
"HelloWorldDotNet/1.0.0": {
"runtime": {
"HelloWorldDotNet.dll": {}
}
}
}
},
"libraries": {
"HelloWorldDotNet/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file added ext/helloworld/net461/HelloWorldDotNet.dll
Binary file not shown.
23 changes: 23 additions & 0 deletions ext/helloworld/net6.0/HelloWorldDotNet.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v3.1",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v3.1": {
"HelloWorldDotNet/1.0.0": {
"runtime": {
"HelloWorldDotNet.dll": {}
}
}
}
},
"libraries": {
"HelloWorldDotNet/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file added ext/helloworld/net6.0/HelloWorldDotNet.dll
Binary file not shown.
23 changes: 23 additions & 0 deletions ext/helloworld/netcoreapp3.1/HelloWorldDotNet.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v3.1",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v3.1": {
"HelloWorldDotNet/1.0.0": {
"runtime": {
"HelloWorldDotNet.dll": {}
}
}
}
},
"libraries": {
"HelloWorldDotNet/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file not shown.
Binary file added src/IKVM.ByteCode/msbuild.binlog
Binary file not shown.
2 changes: 1 addition & 1 deletion src/IKVM.Image.JDK-bin/IKVM.Image.JDK-bin.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.Build.NoTargets">
<PropertyGroup>
<TargetFrameworks>net461;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net461;net6.0</TargetFrameworks>
<RuntimeIdentifiers>$(_SupportedImageRuntimes)</RuntimeIdentifiers>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.Build.NoTargets">
<PropertyGroup>
<TargetFrameworks>net461;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net461;net6.0</TargetFrameworks>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Description>IKVM JDK Runtime Image</Description>
Expand All @@ -25,9 +25,9 @@
<ProjectPackagePath>ikvm\net461\linux-arm\bin</ProjectPackagePath>
</PublishProjectReference>
<PublishProjectReference Include="..\IKVM.Image.JDK-bin\IKVM.Image.JDK-bin.csproj">
<SetTargetFramework>TargetFramework=netcoreapp3.1</SetTargetFramework>
<SetTargetFramework>TargetFramework=net6.0</SetTargetFramework>
<SetRuntimeIdentifier>RuntimeIdentifier=linux-arm</SetRuntimeIdentifier>
<ProjectPackagePath>ikvm\netcoreapp3.1\linux-arm\bin</ProjectPackagePath>
<ProjectPackagePath>ikvm\net6.0\linux-arm\bin</ProjectPackagePath>
</PublishProjectReference>
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<RuntimeIdentifier>linux-arm</RuntimeIdentifier>
<ImagePath>%(RecursiveDir)%(FileName)%(Extension)</ImagePath>
</IkvmImageItem>
<IkvmImageItem Include="$(MSBuildThisFileDirectory)..\ikvm\netcoreapp3.1\linux-arm\**\*">
<TargetFramework>netcoreapp3.1</TargetFramework>
<IkvmImageItem Include="$(MSBuildThisFileDirectory)..\ikvm\net6.0\linux-arm\**\*">
<TargetFramework>net6.0</TargetFramework>
<RuntimeIdentifier>linux-arm</RuntimeIdentifier>
<ImagePath>%(RecursiveDir)%(FileName)%(Extension)</ImagePath>
</IkvmImageItem>
Expand Down
1 change: 1 addition & 0 deletions src/IKVM.Image.JDK.runtime.linux-arm/lib/net6.0/_._
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.Build.NoTargets">
<PropertyGroup>
<TargetFrameworks>net461;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net461;net6.0</TargetFrameworks>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Description>IKVM JDK Runtime Image</Description>
Expand All @@ -20,13 +20,13 @@

<ItemGroup Condition=" '$(TargetFramework)' == '' ">
<PublishProjectReference Include="..\IKVM.Image.JDK-bin\IKVM.Image.JDK-bin.csproj">
<SetTargetFramework>TargetFramework=netcoreapp3.1</SetTargetFramework>
<SetTargetFramework>TargetFramework=net6.0</SetTargetFramework>
<SetRuntimeIdentifier>RuntimeIdentifier=linux-arm64</SetRuntimeIdentifier>
<ProjectPackagePath>ikvm\netcoreapp3.1\linux-arm64\bin</ProjectPackagePath>
<ProjectPackagePath>ikvm\net6.0\linux-arm64\bin</ProjectPackagePath>
</PublishProjectReference>
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
<PublishProjectReference Include="..\IKVM.Image.JDK-bin\IKVM.Image.JDK-bin.csproj">
<SetTargetFramework>TargetFramework=$(TargetFramework)</SetTargetFramework>
<SetRuntimeIdentifier>RuntimeIdentifier=linux-arm64</SetRuntimeIdentifier>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<RuntimeIdentifier>linux-arm64</RuntimeIdentifier>
<ImagePath>%(RecursiveDir)%(FileName)%(Extension)</ImagePath>
</IkvmImageItem>
<IkvmImageItem Include="$(MSBuildThisFileDirectory)..\ikvm\netcoreapp3.1\linux-arm64\**\*">
<TargetFramework>netcoreapp3.1</TargetFramework>
<IkvmImageItem Include="$(MSBuildThisFileDirectory)..\ikvm\net6.0\linux-arm64\**\*">
<TargetFramework>net6.0</TargetFramework>
<RuntimeIdentifier>linux-arm64</RuntimeIdentifier>
<ImagePath>%(RecursiveDir)%(FileName)%(Extension)</ImagePath>
</IkvmImageItem>
Expand Down
1 change: 1 addition & 0 deletions src/IKVM.Image.JDK.runtime.linux-arm64/lib/net6.0/_._
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.Build.NoTargets">
<PropertyGroup>
<TargetFrameworks>net461;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net461;net6.0</TargetFrameworks>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Description>IKVM JDK Runtime Image</Description>
Expand All @@ -25,9 +25,9 @@
<ProjectPackagePath>ikvm\net461\linux-musl-arm\bin</ProjectPackagePath>
</PublishProjectReference>
<PublishProjectReference Include="..\IKVM.Image.JDK-bin\IKVM.Image.JDK-bin.csproj">
<SetTargetFramework>TargetFramework=netcoreapp3.1</SetTargetFramework>
<SetTargetFramework>TargetFramework=net6.0</SetTargetFramework>
<SetRuntimeIdentifier>RuntimeIdentifier=linux-musl-arm</SetRuntimeIdentifier>
<ProjectPackagePath>ikvm\netcoreapp3.1\linux-musl-arm\bin</ProjectPackagePath>
<ProjectPackagePath>ikvm\net6.0\linux-musl-arm\bin</ProjectPackagePath>
</PublishProjectReference>
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<RuntimeIdentifier>linux-musl-arm</RuntimeIdentifier>
<ImagePath>%(RecursiveDir)%(FileName)%(Extension)</ImagePath>
</IkvmImageItem>
<IkvmImageItem Include="$(MSBuildThisFileDirectory)..\ikvm\netcoreapp3.1\linux-musl-arm\**\*">
<TargetFramework>netcoreapp3.1</TargetFramework>
<IkvmImageItem Include="$(MSBuildThisFileDirectory)..\ikvm\net6.0\linux-musl-arm\**\*">
<TargetFramework>net6.0</TargetFramework>
<RuntimeIdentifier>linux-musl-arm</RuntimeIdentifier>
<ImagePath>%(RecursiveDir)%(FileName)%(Extension)</ImagePath>
</IkvmImageItem>
Expand Down
1 change: 1 addition & 0 deletions src/IKVM.Image.JDK.runtime.linux-musl-arm/lib/net6.0/_._
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.Build.NoTargets">
<PropertyGroup>
<TargetFrameworks>net461;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net461;net6.0</TargetFrameworks>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Description>IKVM JDK Runtime Image</Description>
Expand All @@ -20,13 +20,13 @@

<ItemGroup Condition=" '$(TargetFramework)' == '' ">
<PublishProjectReference Include="..\IKVM.Image.JDK-bin\IKVM.Image.JDK-bin.csproj">
<SetTargetFramework>TargetFramework=netcoreapp3.1</SetTargetFramework>
<SetTargetFramework>TargetFramework=net6.0</SetTargetFramework>
<SetRuntimeIdentifier>RuntimeIdentifier=linux-musl-arm64</SetRuntimeIdentifier>
<ProjectPackagePath>ikvm\netcoreapp3.1\linux-musl-arm64\bin</ProjectPackagePath>
<ProjectPackagePath>ikvm\net6.0\linux-musl-arm64\bin</ProjectPackagePath>
</PublishProjectReference>
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
<PublishProjectReference Include="..\IKVM.Image.JDK-bin\IKVM.Image.JDK-bin.csproj">
<SetTargetFramework>TargetFramework=$(TargetFramework)</SetTargetFramework>
<SetRuntimeIdentifier>RuntimeIdentifier=linux-musl-arm64</SetRuntimeIdentifier>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@
</PropertyGroup>

<ItemGroup>
<IkvmImageItem Include="$(MSBuildThisFileDirectory)..\ikvm\net461\linux-musl-arm64\**\*">
<TargetFramework>net461</TargetFramework>
<RuntimeIdentifier>linux-musl-arm64</RuntimeIdentifier>
<ImagePath>%(RecursiveDir)%(FileName)%(Extension)</ImagePath>
</IkvmImageItem>
<IkvmImageItem Include="$(MSBuildThisFileDirectory)..\ikvm\netcoreapp3.1\linux-musl-arm64\**\*">
<TargetFramework>netcoreapp3.1</TargetFramework>
<IkvmImageItem Include="$(MSBuildThisFileDirectory)..\ikvm\net6.0\linux-musl-arm64\**\*">
<TargetFramework>net6.0</TargetFramework>
<RuntimeIdentifier>linux-musl-arm64</RuntimeIdentifier>
<ImagePath>%(RecursiveDir)%(FileName)%(Extension)</ImagePath>
</IkvmImageItem>
Expand Down
1 change: 1 addition & 0 deletions src/IKVM.Image.JDK.runtime.linux-musl-arm64/lib/net6.0/_._
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.Build.NoTargets">
<PropertyGroup>
<TargetFrameworks>net461;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net461;net6.0</TargetFrameworks>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Description>IKVM JDK Runtime Image</Description>
Expand All @@ -25,9 +25,9 @@
<ProjectPackagePath>ikvm\net461\linux-musl-x64\bin</ProjectPackagePath>
</PublishProjectReference>
<PublishProjectReference Include="..\IKVM.Image.JDK-bin\IKVM.Image.JDK-bin.csproj">
<SetTargetFramework>TargetFramework=netcoreapp3.1</SetTargetFramework>
<SetTargetFramework>TargetFramework=net6.0</SetTargetFramework>
<SetRuntimeIdentifier>RuntimeIdentifier=linux-musl-x64</SetRuntimeIdentifier>
<ProjectPackagePath>ikvm\netcoreapp3.1\linux-musl-x64\bin</ProjectPackagePath>
<ProjectPackagePath>ikvm\net6.0\linux-musl-x64\bin</ProjectPackagePath>
</PublishProjectReference>
</ItemGroup>

Expand Down
Loading

0 comments on commit ae6e9d9

Please sign in to comment.