@@ -106,20 +106,6 @@ jobs:
106
106
- name : Checkout
107
107
uses : actions/checkout@v4
108
108
109
- - name : Compile Caret Hook
110
- run : |
111
- Push-Location .\Lib\GetCaretPosEx\
112
- $VsPath = &(Join-Path ${env:ProgramFiles(x86)} "\Microsoft Visual Studio\Installer\vswhere.exe") -Latest -Products * -Requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -Property InstallationPath
113
- Import-Module (Join-Path $VsPath "Common7\Tools\Microsoft.VisualStudio.DevShell.dll")
114
- $targets = @("x64", "x86")
115
- foreach ( $arch in $targets )
116
- {
117
- Enter-VsDevShell -VsInstallPath $VsPath -SkipAutomaticLocation -DevCmdArguments "-arch=$arch"
118
- cl /Fo"GetCaretPosFromHook-$arch" /O2 /Ob1 /c /GS- /std:c++20 /d1reportSingleClassLayoutCaretPosHookData GetCaretPosFromHook.cpp
119
- }
120
- Pop-Location
121
- Move-Item .\Lib\GetCaretPosEx\*.obj .\
122
-
123
109
- name : Install RcEdit
124
110
uses : MinoruSekine/setup-scoop@v4
125
111
with :
@@ -148,8 +134,6 @@ jobs:
148
134
path : |
149
135
AutoHotkey32.exe
150
136
AutoHotkey64.exe
151
- GetCaretPosFromHook-x86.obj
152
- GetCaretPosFromHook-x64.obj
153
137
154
138
build-rabbit :
155
139
strategy :
@@ -173,7 +157,6 @@ jobs:
173
157
- name : Copy Artifacts
174
158
run : |
175
159
cp AutoHotkey/${{ matrix.ahk }} Rabbit.exe
176
- cp AutoHotkey/GetCaretPosFromHook-${{ matrix.target }}.obj Lib/GetCaretPosEx/GetCaretPosFromHook.obj
177
160
cp Rime/${{ matrix.rime }} rime.dll
178
161
cp Icon/Rabbit.ico Rabbit.ico
179
162
@@ -185,7 +168,6 @@ jobs:
185
168
Lib/librime-ahk/*.ahk
186
169
Lib/librime-ahk/LICENSE
187
170
Lib/GetCaretPosEx/*.ahk
188
- Lib/GetCaretPosEx/*.obj
189
171
Lib/GetCaretPosEx/LICENSE.txt
190
172
Lib/*.ahk
191
173
rime.dll
@@ -204,7 +186,6 @@ jobs:
204
186
Lib/librime-ahk/*.ahk
205
187
Lib/librime-ahk/LICENSE
206
188
Lib/GetCaretPosEx/*.ahk
207
- Lib/GetCaretPosEx/*.obj
208
189
Lib/GetCaretPosEx/LICENSE.txt
209
190
Lib/*.ahk
210
191
rime.dll
0 commit comments