mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:42:51 +08:00
Using MinGW under Windows (#372)
* Update build.yml * Update deploy_windows64.sh
This commit is contained in:
parent
f2987f3419
commit
e7cf74a63f
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -93,9 +93,9 @@ jobs:
|
||||
uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: Install MSVC compiler
|
||||
- name: Install mingw
|
||||
if: matrix.platform == 'windows-latest'
|
||||
uses: ilammy/msvc-dev-cmd@v1.13.0
|
||||
uses: bwoodsend/setup-winlibs-action@v1.15
|
||||
|
||||
- name: Download Artifacts
|
||||
uses: actions/download-artifact@v4.1.8
|
||||
@ -105,6 +105,7 @@ jobs:
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v4.1.1
|
||||
with:
|
||||
arch: win64_mingw
|
||||
version: ${{ matrix.qt_version }}
|
||||
setup-python: true
|
||||
modules: qtcharts
|
||||
@ -128,8 +129,8 @@ jobs:
|
||||
shell: bash
|
||||
if: matrix.platform == 'windows-latest'
|
||||
env:
|
||||
CC: cl.exe
|
||||
CXX: cl.exe
|
||||
CC: gcc.exe
|
||||
CXX: g++.exe
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
@ -21,7 +21,7 @@ mv $DEPLOYMENT/public_res/* $DEST
|
||||
|
||||
#### deploy qt & DLL runtime ####
|
||||
pushd $DEST
|
||||
windeployqt nekoray.exe --no-translations --no-system-d3d-compiler --no-compiler-runtime --no-opengl-sw --no-svg --verbose 2
|
||||
windeployqt nekoray.exe --no-translations --no-system-d3d-compiler --no-opengl-sw --no-svg --verbose 2
|
||||
popd
|
||||
|
||||
rm -rf $DEST/dxcompiler.dll $DEST/dxil.dll
|
||||
|
||||
Loading…
Reference in New Issue
Block a user