mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +08:00
parent
f52437f7b3
commit
722cc72cad
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -160,7 +160,7 @@ jobs:
|
|||||||
if: matrix.platform == 'windows-latest' && matrix.qt_version != '6.2.12'
|
if: matrix.platform == 'windows-latest' && matrix.qt_version != '6.2.12'
|
||||||
uses: actions/cache@v4.2.3
|
uses: actions/cache@v4.2.3
|
||||||
with:
|
with:
|
||||||
path: C:/vcpkg/installed/x64-mingw-static
|
path: ${{ env.VCPKG_INSTALLATION_ROOT }}/installed/x64-mingw-static
|
||||||
key: OpenSSLCache-${{ matrix.platform }}-${{ matrix.target }}
|
key: OpenSSLCache-${{ matrix.platform }}-${{ matrix.target }}
|
||||||
- name: Install OpenSSL (Windows)
|
- name: Install OpenSSL (Windows)
|
||||||
if: matrix.platform == 'windows-latest' && steps.cache-openssl.outputs.cache-hit != 'true' && matrix.qt_version != '6.2.12'
|
if: matrix.platform == 'windows-latest' && steps.cache-openssl.outputs.cache-hit != 'true' && matrix.qt_version != '6.2.12'
|
||||||
@ -189,8 +189,8 @@ 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_INSTALLATION_ROOT/installed/x64-mingw-static" -DCMAKE_BUILD_TYPE=Debug ..
|
cmake -GNinja -DCMAKE_CXX_FLAGS="-static" -DOPENSSL_ROOT_DIR="$VCPKG_ROOT/installed/x64-mingw-static" -DCMAKE_BUILD_TYPE=Debug ..
|
||||||
ninja
|
ninja -j2
|
||||||
cd ..
|
cd ..
|
||||||
./script/deploy_windows.sh
|
./script/deploy_windows.sh
|
||||||
- name: Legacy Windows - Generate MakeFile and Build
|
- name: Legacy Windows - Generate MakeFile and Build
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user