Skip to content

Commit 805a7cd

Browse files
committed
ci: 更新 workflow ;
1 parent 7eeeb93 commit 805a7cd

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

.github/workflows/qt-build-release-linux.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
with:
2020
submodules: 'recursive'
2121
token: ${{ secrets.CONTRIBUTORS_TOKEN }}
22+
2223
- name: Install Qt
2324
# Installs the Qt SDK
2425
uses: jurplel/install-qt-action@v4
@@ -28,11 +29,16 @@ jobs:
2829
target: 'desktop'
2930
arch: 'linux_gcc_64'
3031
cache: true
32+
33+
- name: Set up Node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: '20'
3137

3238
- name: Configure CMake
3339
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
3440
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
35-
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/build/package
41+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWINGHEX_USE_FRAMELESS=ON -DBUILD_TEST_PLUGIN=OFF -DBUILD_SHARED_MEM_EXT=OFF -DANGEL_LSP=ON -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/build/package
3642

3743
- name: Build
3844
# Build your program with the given configuration

.github/workflows/qt-build-release-win.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
with:
2020
submodules: 'recursive'
2121
token: ${{ secrets.CONTRIBUTORS_TOKEN }}
22+
2223
- name: Install Qt
2324
# Installs the Qt SDK
2425
uses: jurplel/install-qt-action@v4
@@ -29,6 +30,17 @@ jobs:
2930
arch: 'win64_msvc2022_64'
3031
modules: 'qtactiveqt'
3132
cache: true
33+
34+
- name: Set up Node.js
35+
uses: actions/setup-node@v4
36+
with:
37+
node-version: '20'
38+
39+
- name: Ensure Inno Setup Languages Directory Exists
40+
run: |
41+
$dir = "C:\Program Files (x86)\Inno Setup 6\Languages"
42+
if (-Not (Test-Path $dir)) { New-Item -Path $dir -ItemType Directory }
43+
3244
- name: Add Chinese support file for InnoSetup
3345
run: |
3446
$sourcePath = "${{github.workspace}}/mkinstaller/innoSetup/ChineseSimplified.isl"
@@ -38,7 +50,7 @@ jobs:
3850
- name: Configure CMake
3951
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
4052
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
41-
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
53+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWINGHEX_USE_FRAMELESS=ON -DBUILD_TEST_PLUGIN=OFF -DBUILD_SHARED_MEM_EXT=OFF -DANGEL_LSP=ON
4254

4355
- name: Build
4456
# Build your program with the given configuration

.github/workflows/qt-build-test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,16 @@ jobs:
5151
modules: ${{ matrix.os == 'windows-latest' && 'qtactiveqt' || '' }}
5252
cache: true
5353

54+
- name: Set up Node.js
55+
uses: actions/setup-node@v4
56+
with:
57+
node-version: '20'
58+
5459
- name: Configure CMake
5560
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
5661
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
57-
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
58-
62+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWINGHEX_USE_FRAMELESS=ON -DBUILD_TEST_PLUGIN=OFF -DBUILD_SHARED_MEM_EXT=OFF -DANGEL_LSP=ON
63+
5964
- name: Build
6065
# Build your program with the given configuration
6166
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

0 commit comments

Comments
 (0)