File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build CI
1+ name : Release Build
22
33on :
44 push :
5- branches : [ "main", "master" ]
6- pull_request :
7- branches : [ "main", "master" ]
5+ tags :
6+ - ' v*'
87 workflow_dispatch :
98
109env :
3837 - name : Show sccache stats
3938 run : sccache --show-stats
4039
41- - name : Rename DLL to winhttp.dll
42- run : Rename-Item -Path "build\bin\UnityInspector.dll" -NewName "winhttp.dll"
43-
4440 - name : Upload Artifact
4541 uses : actions/upload-artifact@v4
4642 with :
4743 name : winhttp-dll
48- path : build\bin\ winhttp.dll
44+ path : dist/ winhttp.dll
Original file line number Diff line number Diff line change 1+ name : Debug Check
2+
3+ on :
4+ push :
5+ branches : [ "main", "master" ]
6+ pull_request :
7+ branches : [ "main", "master" ]
8+ workflow_dispatch :
9+
10+ env :
11+ SCCACHE_GHA_ENABLED : " true"
12+ SCCACHE_CACHE_SIZE : 2G
13+
14+ jobs :
15+ build :
16+ runs-on : windows-latest
17+ permissions :
18+ contents : read
19+
20+ steps :
21+ - name : Checkout repository
22+ uses : actions/checkout@v4
23+
24+ - name : Setup MSVC
25+ uses : ilammy/msvc-dev-cmd@v1
26+ with :
27+ arch : x64
28+
29+ - name : Setup sccache
30+ uses : mozilla-actions/sccache-action@v0.0.10
31+
32+ - name : Configure CMake
33+ run : cmake -B build -S . -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache
34+
35+ - name : Build project
36+ run : cmake --build build
37+
38+ - name : Show sccache stats
39+ run : sccache --show-stats
40+
41+ - name : Upload Artifact
42+ uses : actions/upload-artifact@v4
43+ with :
44+ name : winhttp-dll-debug
45+ path : |
46+ dist/winhttp.dll
47+ dist/winhttp.pdb
You can’t perform that action at this time.
0 commit comments