mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +08:00
Revert "try building qt with openssl for windows"
This reverts commit ca895dfefe.
This commit is contained in:
parent
896e81bcb8
commit
1a59260de7
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -154,13 +154,7 @@ jobs:
|
|||||||
uses: actions/cache@v4.2.3
|
uses: actions/cache@v4.2.3
|
||||||
with:
|
with:
|
||||||
path: qt6/build
|
path: qt6/build
|
||||||
key: QtStaticCache-${{ matrix.platform }}-${{ matrix.target }}-Qt${{ matrix.qt_version }}-${{ hashFiles('script/build_qt_static_windows.bat') }}
|
key: QtStaticCache-${{ matrix.platform }}-${{ matrix.target }}-Qt${{ matrix.qt_version }}
|
||||||
- name: Install OpenSSL (Windows)
|
|
||||||
if: matrix.platform == 'windows-latest' && steps.cache-static-Qt.outputs.cache-hit != 'true' && matrix.qt_version != '6.2.12'
|
|
||||||
shell: powershell
|
|
||||||
run: |
|
|
||||||
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
|
|
||||||
vcpkg install openssl:x64-mingw-static
|
|
||||||
- name: Install Qt Windows
|
- name: Install Qt Windows
|
||||||
shell: powershell
|
shell: powershell
|
||||||
if: matrix.platform == 'windows-latest' && steps.cache-static-Qt.outputs.cache-hit != 'true' && matrix.qt_version != '6.2.12'
|
if: matrix.platform == 'windows-latest' && steps.cache-static-Qt.outputs.cache-hit != 'true' && matrix.qt_version != '6.2.12'
|
||||||
@ -182,7 +176,7 @@ jobs:
|
|||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
curl -fLso srslist.h "https://raw.githubusercontent.com/throneproj/routeprofiles/rule-set/srslist.h"
|
curl -fLso srslist.h "https://raw.githubusercontent.com/throneproj/routeprofiles/rule-set/srslist.h"
|
||||||
cmake -GNinja -DCMAKE_CXX_FLAGS="-static" -DOPENSSL_ROOT_DIR="$VCPKG_ROOT/installed/x64-mingw-static" -DCMAKE_BUILD_TYPE=Debug ..
|
cmake -GNinja -DCMAKE_CXX_FLAGS="-static" -DCMAKE_BUILD_TYPE=Debug ..
|
||||||
ninja -j2
|
ninja -j2
|
||||||
cd ..
|
cd ..
|
||||||
./script/deploy_windows.sh
|
./script/deploy_windows.sh
|
||||||
|
|||||||
@ -3,7 +3,7 @@ cd qt6
|
|||||||
|
|
||||||
git switch %1
|
git switch %1
|
||||||
mkdir build
|
mkdir build
|
||||||
CALL .\configure.bat -openssl-linked -release -static -prefix ./build -static-runtime -submodules qtbase,qtimageformats,qtsvg,qttranslations -skip tests -skip examples -gui -widgets -init-submodules -- -D OPENSSL_ROOT_DIR="%VCPKG_ROOT%/installed/x64-mingw-static"
|
CALL .\configure.bat -release -static -prefix ./build -static-runtime -submodules qtbase,qtimageformats,qtsvg,qttranslations -skip tests -skip examples -gui -widgets -init-submodules
|
||||||
echo on branch %1
|
echo on branch %1
|
||||||
echo config complete, building...
|
echo config complete, building...
|
||||||
cmake --build . --parallel
|
cmake --build . --parallel
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user