mirror of
https://github.com/tiennm99/time-mocker.git
synced 2026-10-14 22:17:42 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46c13d0533 | ||
|
|
06e195c5a2 |
No files matched your search
Vendored
+3
-17
@@ -21,27 +21,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dotnet-version: 10.x
|
dotnet-version: 10.x
|
||||||
|
|
||||||
- name: Build Hook DLL (x86)
|
- name: Build Solution
|
||||||
run: dotnet build TimeMocker.Hook\TimeMocker.Hook.csproj -c Release -p:Platform=x86
|
run: dotnet build TimeMocker.sln -c Release -p:Platform=x64
|
||||||
|
|
||||||
- name: Build Hook DLL (x64)
|
|
||||||
run: dotnet build TimeMocker.Hook\TimeMocker.Hook.csproj -c Release -p:Platform=x64
|
|
||||||
|
|
||||||
- name: Build UI
|
|
||||||
run: dotnet build TimeMocker.UI\TimeMocker.UI.csproj -c Release -p:Platform=x64
|
|
||||||
|
|
||||||
- name: Verify Hook DLL sizes
|
|
||||||
run: |
|
|
||||||
$x64 = (Get-Item "TimeMocker.Hook\bin\x64\Release\net48\TimeMocker.Hook.dll").Length
|
|
||||||
$x86 = (Get-Item "TimeMocker.Hook\bin\x86\Release\net48\TimeMocker.Hook.dll").Length
|
|
||||||
Write-Host "x64 hook DLL: $x64 bytes"
|
|
||||||
Write-Host "x86 hook DLL: $x86 bytes"
|
|
||||||
if ($x64 -lt 20000) { throw "x64 hook DLL too small - build failed silently" }
|
|
||||||
if ($x86 -lt 20000) { throw "x86 hook DLL too small - build failed silently" }
|
|
||||||
|
|
||||||
- name: Prepare Release Artifacts
|
- name: Prepare Release Artifacts
|
||||||
run: |
|
run: |
|
||||||
mkdir release
|
mkdir release
|
||||||
|
# Copy all DLLs from the build output
|
||||||
copy TimeMocker.UI\bin\x64\Release\net48\*.dll release\
|
copy TimeMocker.UI\bin\x64\Release\net48\*.dll release\
|
||||||
copy TimeMocker.UI\bin\x64\Release\net48\*.exe release\
|
copy TimeMocker.UI\bin\x64\Release\net48\*.exe release\
|
||||||
copy TimeMocker.UI\bin\x64\Release\net48\*.config release\
|
copy TimeMocker.UI\bin\x64\Release\net48\*.config release\
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"sdk": {
|
"sdk": {
|
||||||
"version": "10.0.0",
|
"version": "10.0.100",
|
||||||
"rollForward": "latestMajor",
|
"rollForward": "latestMajor",
|
||||||
"allowPrerelease": true
|
"allowPrerelease": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user