File tree Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Original file line number Diff line number Diff line change @@ -32,28 +32,14 @@ jobs:
32
32
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
33
33
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
34
34
35
- - name : Create funchook build directory
35
+ - name : Build funchook
36
36
shell : powershell
37
- working-directory : libs/funchook
38
- run : |
39
- New-Item build -ItemType Directory
40
-
41
- - name : Generate funchook build files
42
- shell : cmd
43
- working-directory : libs/funchook/build
44
37
run : |
38
+ cd libs/funchook
39
+ md build
40
+ cd build
45
41
cmake -G "Visual Studio 16 2019" -A x64 ..
46
-
47
- - name : Patch funchook to compile as /MT
48
- shell : powershell
49
- working-directory : libs/funchook/build
50
- run : |
51
- (Get-Content funchook-static.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>', '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>' | Out-File -encoding ASCII funchook-static.vcxproj
52
-
53
- - name : Build funchook
54
- shell : cmd
55
- working-directory : libs/funchook/build
56
- run : |
42
+ (gc .\funchook-static.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>', '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>' | Out-File .\funchook-static.vcxproj
57
43
cmake --build . --config Release
58
44
59
45
- name : Build EP IA-32
You can’t perform that action at this time.
0 commit comments