Skip to content

Commit c449752

Browse files
committed
ci:fix build
1 parent 972d97e commit c449752

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/UbuntuArm64_build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
set -e
3838
apt update -y
3939
apt install git make g++ wget curl jq unzip -y
40+
apt install liblua5.4-dev libopencv-dev libopencv-contrib-dev libqrencode-dev libleptonica-dev libtesseract-dev -y
4041
4142
git config --global --add safe.directory /workspace
4243
git submodule init

.github/workflows/msbuild.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ jobs:
7171
./vcpkg.exe integrate install
7272
# ./vcpkg.exe install lua:Arm64-windows opencv[contrib]:Arm64-windows libqrencode:Arm64-windows Windows的opencv 有问题
7373
74-
sed -i 's/#define _XENGINE_BUILD_SWITCH_OPENCV 1/#define _XENGINE_BUILD_SWITCH_OPENCV 0/' XEngine_Source/XEngine_BuildSwitch.h
74+
$filePath = "XEngine_Source/XEngine_BuildSwitch.h"
75+
(Get-Content $filePath) -replace '#define _XENGINE_BUILD_SWITCH_OPENCV 1', '#define _XENGINE_BUILD_SWITCH_OPENCV 0' | Set-Content $filePath
7576
shell: pwsh
7677

7778
- name: Set up Dependency x86_64 Environment

0 commit comments

Comments
 (0)