mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-23 01:50:17 +08:00
fix build
This commit is contained in:
parent
e7cf74a63f
commit
9bdd55238c
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -102,8 +102,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: download-artifact
|
path: download-artifact
|
||||||
# ========================================================================================================= Qt Install
|
# ========================================================================================================= Qt Install
|
||||||
- name: Install Qt
|
- name: Install Qt Windows
|
||||||
uses: jurplel/install-qt-action@v4.1.1
|
uses: jurplel/install-qt-action@v4.1.1
|
||||||
|
if: matrix.platform == 'windows-latest'
|
||||||
with:
|
with:
|
||||||
arch: win64_mingw
|
arch: win64_mingw
|
||||||
version: ${{ matrix.qt_version }}
|
version: ${{ matrix.qt_version }}
|
||||||
@ -111,7 +112,16 @@ jobs:
|
|||||||
modules: qtcharts
|
modules: qtcharts
|
||||||
cache: true
|
cache: true
|
||||||
cache-key-prefix: QtCache-${{ matrix.platform }}-${{ matrix.target }}
|
cache-key-prefix: QtCache-${{ matrix.platform }}-${{ matrix.target }}
|
||||||
# ========================================================================================================= 编译与 Qt 无关的依赖
|
- name: Install Qt
|
||||||
|
uses: jurplel/install-qt-action@v4.1.1
|
||||||
|
if: matrix.platform != 'windows-latest'
|
||||||
|
with:
|
||||||
|
version: ${{ matrix.qt_version }}
|
||||||
|
setup-python: true
|
||||||
|
modules: qtcharts
|
||||||
|
cache: true
|
||||||
|
cache-key-prefix: QtCache-${{ matrix.platform }}-${{ matrix.target }}
|
||||||
|
# ========================================================================================================= Install Ninja and Build deps
|
||||||
- name: Install ninja-build tool
|
- name: Install ninja-build tool
|
||||||
uses: seanmiddleditch/gha-setup-ninja@v5
|
uses: seanmiddleditch/gha-setup-ninja@v5
|
||||||
- name: Cache Download
|
- name: Cache Download
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user