Skip to content

Commit 96c9a44

Browse files
committed
build: add melon build to ci
1 parent 4522cbc commit 96c9a44

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

.github/workflows/dotnet_nightly.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@ jobs:
5353
with:
5454
name: CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR.zip
5555
path: ./Release/CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR/output
56+
57+
- name: Upload MelonLoader.IL2CPP.CoreCLR
58+
uses: actions/upload-artifact@v4
59+
with:
60+
name: CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip
61+
path: ./Release/CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR/output

build.ps1

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ cd UniverseLib
22
.\build.ps1
33
cd ..
44

5-
# ----------- MelonLoader IL2CPP CoreCLR (net6) -----------
6-
# dotnet build src/CinematicUnityExplorer.sln -c Release_ML_Cpp_CoreCLR -p:IS_CI=true
7-
# $Path = "Release\CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR"
5+
----------- MelonLoader IL2CPP CoreCLR (net6) -----------
6+
dotnet build src/CinematicUnityExplorer.sln -c Release_ML_Cpp_CoreCLR -p:IS_CI=true
7+
$Path = "Release\CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR"
88

9-
# New-Item -ItemType Directory -Path "$Path/output/Mods" -Force
10-
# New-Item -ItemType Directory -Path "$Path/output/UserLibs" -Force
9+
New-Item -ItemType Directory -Path "$Path/output/Mods" -Force
10+
New-Item -ItemType Directory -Path "$Path/output/UserLibs" -Force
1111

12-
# # ILRepack
13-
# lib/ILRepack.exe /target:library /lib:lib/net6 /lib:lib/interop /lib:$Path /internalize /out:$Path/output/Mods/CinematicUnityExplorer.ML.IL2CPP.CoreCLR.dll $Path/CinematicUnityExplorer.ML.IL2CPP.CoreCLR.dll $Path/mcs.dll
12+
# ILRepack
13+
lib/ILRepack.exe /target:library /lib:lib/net6 /lib:lib/interop /lib:$Path /internalize /out:$Path/output/Mods/CinematicUnityExplorer.ML.IL2CPP.CoreCLR.dll $Path/CinematicUnityExplorer.ML.IL2CPP.CoreCLR.dll $Path/mcs.dll
1414

15-
# Move-Item -Path $Path/UniverseLib.ML.IL2CPP.Interop.dll -Destination $Path/output/UserLibs -Force
15+
Move-Item -Path $Path/CinematicUnityExplorer.Adapters*.dll -Destination $Path/output/Mods -Force
16+
Move-Item -Path $Path/UniverseLib.ML.IL2CPP.Interop.dll -Destination $Path/output/UserLibs -Force
1617

1718
# ----------- BepInEx Unity IL2CPP CoreCLR -----------
1819
dotnet build src/CinematicUnityExplorer.sln -c Release_BIE_Unity_Cpp -p:IS_CI=true

0 commit comments

Comments
 (0)