mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-27 07:44:02 +08:00
fix
This commit is contained in:
parent
7035b290e8
commit
49b586f62e
41
.github/workflows/release.yml
vendored
41
.github/workflows/release.yml
vendored
@ -20,15 +20,11 @@ jobs:
|
||||
uses: GuillaumeFalourd/setup-windows10-sdk-action@v2
|
||||
with:
|
||||
sdk-version: 22621
|
||||
- name: Install Qt32
|
||||
uses: jurplel/install-qt-action@v3.3.0
|
||||
- name: Install Python 3.11
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
version: ${{ env.QT_VERSION }}
|
||||
host: windows
|
||||
target: desktop
|
||||
arch: win32_msvc2019
|
||||
dir: ${{ runner.temp }}
|
||||
setup-python: true
|
||||
python-version: '3.11'
|
||||
architecture: x64
|
||||
- name: Run build script 32xp
|
||||
run: python build.py 32xp
|
||||
|
||||
@ -42,12 +38,12 @@ jobs:
|
||||
- name: Upload English xp artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Release_English_xp
|
||||
name: Release_English_xp.zip
|
||||
path: builds/Release_English_xp.zip
|
||||
- name: Upload Chinese xp artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Release_Chinese_xp
|
||||
name: Release_Chinese_xp.zip
|
||||
path: builds/Release_Chinese_xp.zip
|
||||
|
||||
build:
|
||||
@ -89,22 +85,22 @@ jobs:
|
||||
- name: Upload plugin32 artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: plugin32
|
||||
name: plugin32.zip
|
||||
path: builds/plugin32.zip
|
||||
- name: Upload plugin64 artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: plugin64
|
||||
name: plugin64.zip
|
||||
path: builds/plugin64.zip
|
||||
- name: Upload English artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Release_English
|
||||
name: Release_English.zip
|
||||
path: builds/Release_English.zip
|
||||
- name: Upload Chinese artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Release_Chinese
|
||||
name: Release_Chinese.zip
|
||||
path: builds/Release_Chinese.zip
|
||||
release:
|
||||
needs: [build, build_xp]
|
||||
@ -115,37 +111,32 @@ jobs:
|
||||
- name: Download plugin32 artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: plugin32
|
||||
name: plugin32.zip
|
||||
path: builds
|
||||
- name: Download plugin64 artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: plugin64
|
||||
name: plugin64.zip
|
||||
path: builds
|
||||
- name: Download English artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: Release_English
|
||||
name: Release_English.zip
|
||||
path: builds
|
||||
- name: Download Chinese artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: Release_Chinese
|
||||
name: Release_Chinese.zip
|
||||
path: builds
|
||||
# - name: Download plugin32_xp artifact
|
||||
# uses: actions/download-artifact@v4
|
||||
# with:
|
||||
# name: plugin32_xp
|
||||
# path: builds
|
||||
- name: Download English xp artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: Release_English_xp
|
||||
name: Release_English_xp.zip
|
||||
path: builds
|
||||
- name: Download Chinese xp artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: Release_Chinese_xp
|
||||
name: Release_Chinese_xp.zip
|
||||
path: builds
|
||||
- name: Release LunaHook
|
||||
uses: softprops/action-gh-release@v2
|
||||
|
@ -1,7 +1,7 @@
|
||||
cmake ../CMakeLists.txt -G "Visual Studio 16 2019" -A win32 -T v141_xp -B ../build/x86_xp
|
||||
cmake -DWINXP=1 ../CMakeLists.txt -G "Visual Studio 16 2019" -A win32 -T v141_xp -B ../build/x86_xp
|
||||
cmake --build ../build/x86_xp --config Release --target ALL_BUILD -j 14
|
||||
|
||||
cmake -DLANGUAGE=Chinese ../CMakeLists.txt -G "Visual Studio 16 2019" -A win32 -T v141_xp -B ../build/x86_zh_xp
|
||||
cmake -DWINXP=1 -DLANGUAGE=Chinese ../CMakeLists.txt -G "Visual Studio 16 2019" -A win32 -T v141_xp -B ../build/x86_zh_xp
|
||||
cmake --build ../build/x86_zh_xp --config Release --target ALL_BUILD -j 14
|
||||
python edit_target.py
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user