diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dfafd92..cb0c7f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -254,15 +254,15 @@ jobs: - name: Build and run tests run: dotnet test Raylib-cs.Tests -c Release - - name: Build examples + - name: Build examples desktop run: dotnet build Examples -c Release + - name: Build examples android + run: dotnet build Examples.Android -c Release + - name: Create NuGet Package run: dotnet pack Raylib-cs -c Release --output nuget - - name: Create NuGet Package - run: dotnet pack Raylib-cs.Android -c Release --output nuget - - name: Upload NuGet Package As Artifact uses: actions/upload-artifact@v3 with: diff --git a/Raylib-cs.Android/Raylib-cs.Android.csproj b/Examples.Android/Examples.Android.csproj similarity index 53% rename from Raylib-cs.Android/Raylib-cs.Android.csproj rename to Examples.Android/Examples.Android.csproj index 9d50f2b..0d36994 100644 --- a/Raylib-cs.Android/Raylib-cs.Android.csproj +++ b/Examples.Android/Examples.Android.csproj @@ -1,15 +1,23 @@ + Exe net6.0-android;net7.0-android - 21 - Raylib_cs + Examples.Android enable enable + + 21 + com.raylibcs.android + 1 + 1.0 + + + diff --git a/Raylib-cs.Android/RaylibActivity.cs b/Examples.Android/RaylibActivity.cs similarity index 94% rename from Raylib-cs.Android/RaylibActivity.cs rename to Examples.Android/RaylibActivity.cs index 848b9d8..3230152 100644 --- a/Raylib-cs.Android/RaylibActivity.cs +++ b/Examples.Android/RaylibActivity.cs @@ -1,6 +1,6 @@ using System.Runtime.InteropServices; -namespace Raylib_cs; +namespace Examples.Android; public abstract class RaylibActivity : NativeActivity { diff --git a/Raylib-cs.Android/android.patch b/Examples.Android/android.patch similarity index 100% rename from Raylib-cs.Android/android.patch rename to Examples.Android/android.patch diff --git a/Raylib-cs.Android/runtimes/android-arm/native/.keep b/Examples.Android/runtimes/android-arm/native/.keep similarity index 100% rename from Raylib-cs.Android/runtimes/android-arm/native/.keep rename to Examples.Android/runtimes/android-arm/native/.keep diff --git a/Raylib-cs.Android/runtimes/android-arm64/native/.keep b/Examples.Android/runtimes/android-arm64/native/.keep similarity index 100% rename from Raylib-cs.Android/runtimes/android-arm64/native/.keep rename to Examples.Android/runtimes/android-arm64/native/.keep diff --git a/Raylib-cs.Android/runtimes/android-x64/native/.keep b/Examples.Android/runtimes/android-x64/native/.keep similarity index 100% rename from Raylib-cs.Android/runtimes/android-x64/native/.keep rename to Examples.Android/runtimes/android-x64/native/.keep diff --git a/Raylib-cs.Android/runtimes/android-x86/native/.keep b/Examples.Android/runtimes/android-x86/native/.keep similarity index 100% rename from Raylib-cs.Android/runtimes/android-x86/native/.keep rename to Examples.Android/runtimes/android-x86/native/.keep diff --git a/Raylib-cs.sln b/Raylib-cs.sln index 8e4ea92..38f2571 100644 --- a/Raylib-cs.sln +++ b/Raylib-cs.sln @@ -5,12 +5,12 @@ VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Raylib-cs", "Raylib-cs\Raylib-cs.csproj", "{236DB383-2FDC-4A77-8B33-22122D9B8950}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Raylib-cs.Android", "Raylib-cs.Android\Raylib-cs.Android.csproj", "{F854D9EC-B7BE-47EE-B51B-3918E57973BC}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Raylib-cs.Tests", "Raylib-cs.Tests\Raylib-cs.Tests.csproj", "{1341D222-7E10-42C6-BC6E-4A46C934A843}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Examples", "Examples\Examples.csproj", "{1E2A5986-3F11-457F-AF97-D0C08D0060BA}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Examples.Android", "Examples.Android\Examples.Android.csproj", "{EC189309-7F82-4029-93E4-BFA2793FD784}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -24,10 +24,6 @@ Global {236DB383-2FDC-4A77-8B33-22122D9B8950}.Debug|Any CPU.Build.0 = Debug|Any CPU {236DB383-2FDC-4A77-8B33-22122D9B8950}.Release|Any CPU.ActiveCfg = Release|Any CPU {236DB383-2FDC-4A77-8B33-22122D9B8950}.Release|Any CPU.Build.0 = Release|Any CPU - {F854D9EC-B7BE-47EE-B51B-3918E57973BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F854D9EC-B7BE-47EE-B51B-3918E57973BC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F854D9EC-B7BE-47EE-B51B-3918E57973BC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F854D9EC-B7BE-47EE-B51B-3918E57973BC}.Release|Any CPU.Build.0 = Release|Any CPU {1341D222-7E10-42C6-BC6E-4A46C934A843}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {1341D222-7E10-42C6-BC6E-4A46C934A843}.Debug|Any CPU.Build.0 = Debug|Any CPU {1341D222-7E10-42C6-BC6E-4A46C934A843}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -36,5 +32,9 @@ Global {1E2A5986-3F11-457F-AF97-D0C08D0060BA}.Debug|Any CPU.Build.0 = Debug|Any CPU {1E2A5986-3F11-457F-AF97-D0C08D0060BA}.Release|Any CPU.ActiveCfg = Release|Any CPU {1E2A5986-3F11-457F-AF97-D0C08D0060BA}.Release|Any CPU.Build.0 = Release|Any CPU + {EC189309-7F82-4029-93E4-BFA2793FD784}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EC189309-7F82-4029-93E4-BFA2793FD784}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EC189309-7F82-4029-93E4-BFA2793FD784}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EC189309-7F82-4029-93E4-BFA2793FD784}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal