fix ci.
Some checks failed
Build Applications / PullDocker (push) Successful in 4s
Windows CI / build (push) Failing after 4s
Build Applications / Build (push) Successful in 2m27s

This commit is contained in:
amass 2024-10-16 00:46:15 +08:00
parent a57dc9a11b
commit 10aea27972
3 changed files with 4 additions and 3 deletions

View File

@ -11,6 +11,7 @@ jobs:
mkdir C:\Windows\system32\config\systemprofile\.ssh mkdir C:\Windows\system32\config\systemprofile\.ssh
} }
echo $env:SSH_PRIVATE_KEY | Out-File -FilePath C:\Windows\system32\config\systemprofile\.ssh\id_ed25519 -Encoding ascii echo $env:SSH_PRIVATE_KEY | Out-File -FilePath C:\Windows\system32\config\systemprofile\.ssh\id_ed25519 -Encoding ascii
icacls C:\Windows\system32\config\systemprofile\.ssh\id_ed25519 /inheritance:r /grant:r "Administrators:F"
ssh-keyscan -t ed25519 -p 22022 frp-by1.wwvvww.cn | Out-File -FilePath C:\Windows\system32\config\systemprofile\.ssh\known_hosts -Encoding ascii ssh-keyscan -t ed25519 -p 22022 frp-by1.wwvvww.cn | Out-File -FilePath C:\Windows\system32\config\systemprofile\.ssh\known_hosts -Encoding ascii
env: env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -43,7 +43,7 @@ execute_process(
include(CPack) include(CPack)
include(FetchContent) include(FetchContent)
FetchContent_Declare(Kylin FetchContent_Declare(Kylin
GIT_REPOSITORY https://gitea.amass.fun/amass/Kylin.git GIT_REPOSITORY https://amass.fun/gitea/amass/Kylin.git
) )
set(KYLIN_WITH_FLUENT ON) set(KYLIN_WITH_FLUENT ON)
FetchContent_MakeAvailable(Kylin) FetchContent_MakeAvailable(Kylin)

View File

@ -2,7 +2,7 @@
base_path=$(pwd) base_path=$(pwd)
build_path=${base_path}/build build_path=${base_path}/build
qt_prefix_path="/opt/Qt/6.7.3/gcc_64" qt_prefix_path="/opt/Qt/6.8.0/gcc_64"
debug_deploy=false debug_deploy=false
@ -31,7 +31,7 @@ elif [ -d "/opt/Qt/5.15.2/gcc_64" ]; then
-DQt5Svg_DIR=${qt_prefix_path}/lib/cmake/Qt5Svg " -DQt5Svg_DIR=${qt_prefix_path}/lib/cmake/Qt5Svg "
else else
cmake_qt_parameters="" cmake_qt_parameters=""
echo "please install qt6.7.3 or qt5.15.2 ..." echo "please install qt6.8.0 or qt5.15.2 ..."
fi fi
function cmake_scan() { function cmake_scan() {