mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2025-02-17 11:08:41 +01:00
Collapsed some build steps (thanks @Speedy37)
This commit is contained in:
parent
050f10aa58
commit
dd7dc2be58
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
@ -32,28 +32,14 @@ jobs:
|
|||||||
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
||||||
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
|
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
|
||||||
|
|
||||||
- name: Create funchook build directory
|
|
||||||
shell: powershell
|
|
||||||
working-directory: libs/funchook
|
|
||||||
run: |
|
|
||||||
New-Item build -ItemType Directory
|
|
||||||
|
|
||||||
- name: Generate funchook build files
|
|
||||||
shell: cmd
|
|
||||||
working-directory: libs/funchook/build
|
|
||||||
run: |
|
|
||||||
cmake -G "Visual Studio 16 2019" -A x64 ..
|
|
||||||
|
|
||||||
- name: Patch funchook to compile as /MT
|
|
||||||
shell: powershell
|
|
||||||
working-directory: libs/funchook/build
|
|
||||||
run: |
|
|
||||||
(Get-Content funchook-static.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>', '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>' | Out-File -encoding ASCII funchook-static.vcxproj
|
|
||||||
|
|
||||||
- name: Build funchook
|
- name: Build funchook
|
||||||
shell: cmd
|
shell: powershell
|
||||||
working-directory: libs/funchook/build
|
|
||||||
run: |
|
run: |
|
||||||
|
cd libs/funchook
|
||||||
|
md build
|
||||||
|
cd build
|
||||||
|
cmake -G "Visual Studio 16 2019" -A x64 ..
|
||||||
|
(gc .\funchook-static.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>', '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>' | Out-File .\funchook-static.vcxproj
|
||||||
cmake --build . --config Release
|
cmake --build . --config Release
|
||||||
|
|
||||||
- name: Build EP IA-32
|
- name: Build EP IA-32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user