Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
75935f1
fixed:xengine last version build failure
xengine-qyt Mar 21, 2025
c4fa672
update:vs copy file
xengine-qyt Mar 21, 2025
77c0ad1
update:depend library
xengine-qyt Mar 25, 2025
479258a
update:db library
xengine-qyt Mar 25, 2025
4fb8689
added:windows arm64 build
xengine-qyt Mar 25, 2025
7254384
fixed:windows build failure
xengine-qyt Mar 25, 2025
03250f8
ci:modify release name and add arm64 ubuntu
xengine-qyt Mar 25, 2025
972d97e
ci:modify fix build
xengine-qyt Mar 25, 2025
c449752
ci:fix build
xengine-qyt Mar 27, 2025
74fc85f
ci:windows build
xengine-qyt Mar 27, 2025
f1b61b8
ci:msbuild.yml
xengine-qyt Mar 27, 2025
80e91b5
fixed:build failure
xengine-qyt Mar 27, 2025
c5bf757
modify:does not report info with debug build
xengine-qyt Apr 9, 2025
3c24cdd
ci:add rocky release support
xengine-qyt Apr 9, 2025
4d289a3
update:ci build
xengine-qyt Apr 9, 2025
e595602
ci:fixed
xengine-qyt Apr 9, 2025
79a5012
ci:test
xengine-qyt Apr 9, 2025
ef0b98a
ci:rocky test
xengine-qyt Apr 9, 2025
4b7c612
fixed:rocky linux build failed for lua
xengine-qyt Apr 9, 2025
b491b92
added:more release system release support
xengine-qyt Apr 9, 2025
6e5b7f6
modify:improved start parameter
xengine-qyt Apr 10, 2025
cf8c3b3
added:windows service app
xengine-qyt Apr 10, 2025
a805d54
added:service app log support
xengine-qyt Apr 10, 2025
db7270d
fixed:windows service start failed
xengine-qyt Apr 10, 2025
5b12997
fixed:api service build failed
xengine-qyt Apr 10, 2025
fe16975
modify:deamon process for service
xengine-qyt Apr 11, 2025
2912253
delete:auto start for http app
xengine-qyt Apr 11, 2025
18349cc
modify:more language support for window service
xengine-qyt Apr 11, 2025
b4571eb
modify:merge qr configure to main configure
xengine-qyt Apr 11, 2025
59d31b7
fixed:build failed
xengine-qyt Apr 12, 2025
7bd2ac6
modify:merge lua and lib configure
xengine-qyt Apr 12, 2025
8f435be
update:vs copy file and reload type
xengine-qyt Apr 12, 2025
5f22b6c
update:db library and phone data
xengine-qyt Apr 14, 2025
e7a6705
modify:delete db file for release dir and copy db file though script
xengine-qyt Apr 15, 2025
bb98a68
update:ip database use geolite
xengine-qyt Apr 15, 2025
d4ae06d
ci:update
xengine-qyt Apr 15, 2025
3a3a35e
ci:fix Permission
xengine-qyt Apr 15, 2025
37d6c35
fixed:build error
xengine-qyt Apr 15, 2025
b3e84de
fixed:not exist when load db failed
xengine-qyt Apr 15, 2025
c75089c
modify:ip query to set language reply support
xengine-qyt Apr 15, 2025
51f569d
modify:match show windows type on windows
xengine-qyt Apr 15, 2025
a783028
delete:oil sql file
xengine-qyt Apr 15, 2025
0760ff1
added:console start for windows service and set auto start
xengine-qyt Apr 15, 2025
c2a7dac
update:depend library
xengine-qyt Apr 16, 2025
4128f4a
modify:merge translation configure
xengine-qyt Apr 16, 2025
5b69f07
update:read me and document
xengine-qyt Apr 16, 2025
2427b47
fixed:configure parse failed
xengine-qyt Apr 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions .github/workflows/RockyArm64_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: rocky Arm64 build workflows

on:
push:
branches:
- 'develop'
paths:
- 'XEngine_Source/**'
- 'XEngine_Release/**'
- '.github/**'

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-24.04
env:
IMAGE_NAME: rockylinux/rockylinux:9.5

strategy:
fail-fast: false
matrix:
arch: [linux/arm64]

steps:
# 检出您的主仓库代码
- name: Checkout main repository code
uses: actions/checkout@v4
with:
ref: 'develop'

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Build ${{ matrix.arch }}
run: |
docker run --platform ${{ matrix.arch }} --rm \
-v ${{ github.workspace }}:/workspace \
-w /workspace ${{ env.IMAGE_NAME }} /bin/sh -c '
set -e
dnf update -y
dnf install --allowerasing git make g++ wget curl jq unzip -y

git config --global --add safe.directory /workspace
git submodule init
git submodule update

latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_RockyLinux_9_Arm64.zip
unzip ./XEngine_RockyLinux_9_Arm64.zip -d ./XEngine_RockyLinux_9_Arm64
cd XEngine_RockyLinux_9_Arm64

chmod 777 ./XEngine_LINEnv.sh
./XEngine_LINEnv.sh -i 0

dnf install lua-devel opencv-devel qrencode-devel leptonica-devel tesseract-devel -y

cp -rf ./XEngine_Include /usr/local/include
find ./XEngine_Linux -name "*.so" -exec cp {} /usr/lib64 \;
ldconfig
cd ..

cd XEngine_Source
make ARCH=Arm64 RELEASE=1
make FLAGS=InstallAll
make FLAGS=CleanAll
cd ..

cd XEngine_Release
chmod 777 copydb.sh
./copydb.sh
./XEngine_APIServiceApp -t
chown -R $(id -u):$(id -g) .
chmod -R a+r . '

- name: Upload folder as artifact with RockyLinux
uses: actions/upload-artifact@v4
with:
name: XEngine_APIServiceApp-RockyLinux_9_Arm64
path: XEngine_Release/
retention-days: 1
99 changes: 99 additions & 0 deletions .github/workflows/RockyX86_64_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: rocky x86_64 build workflows

on:
push:
branches:
- 'develop'
paths:
- 'XEngine_Source/**'
- 'XEngine_Release/**'
- '.github/**'

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
container:
image: rockylinux/rockylinux:9.5

steps:
# 检出您的主仓库代码
- name: Checkout main repository code
uses: actions/checkout@v4
with:
ref: 'develop'

# 检出依赖的xengine仓库到指定的xengine目录
- name: Checkout dependency repository (xengine)
uses: actions/checkout@v4
with:
repository: libxengine/libxengine
path: libxengine

- name: sub module checkout (XEngine_OPenSource)
uses: actions/checkout@v4
with:
repository: libxengine/XEngine_OPenSource
path: XEngine_Source/XEngine_Depend
- name: sub module checkout (XEngine_PhoneData)
uses: actions/checkout@v4
with:
repository: libxengine/XEngine_PhoneData
path: XEngine_Source/XEngine_DBDepend/XEngine_PhoneData
- name: sub module checkout (XEngine_IPMacData)
uses: actions/checkout@v4
with:
repository: libxengine/XEngine_IPMacData
path: XEngine_Source/XEngine_DBDepend/XEngine_IPMacData

- name: install system package
run: |
dnf update -y
ls -al ./XEngine_Source/XEngine_DBDepend/
ls -al ./XEngine_Source/XEngine_DBDepend/XEngine_IPMacData/XEngine_Source
dnf install gcc g++ make git jq unzip -y
# 设置依赖库的环境变量
- name: Set up Dependency rocky linux Environment
run: |
cd libxengine
chmod 777 *
./XEngine_LINEnv.sh -i 0
dnf install lua-devel opencv-devel qrencode-devel leptonica-devel tesseract-devel -y

- name: install xengine library
run: |
latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_RockyLinux_9_x86-64.zip
unzip ./XEngine_RockyLinux_9_x86-64.zip -d ./XEngine_RockyLinux_9_x86-64
cd XEngine_RockyLinux_9_x86-64

cp -rf ./XEngine_Include /usr/local/include
find ./XEngine_Linux -name "*.so" -exec cp {} /usr/lib64 \;
ldconfig

- name: make
run: |
cd XEngine_Source
make
make FLAGS=InstallAll
make FLAGS=CleanAll

make RELEASE=1
make FLAGS=InstallAll
make FLAGS=CleanAll

- name: test
run: |
cd XEngine_Release
chmod 777 copydb.sh
./copydb.sh
./XEngine_APIServiceApp -t

- name: Upload folder as artifact with RockyLinux
uses: actions/upload-artifact@v4
with:
name: XEngine_APIServiceApp-RockyLinux_9_x86_64
path: XEngine_Release/
retention-days: 1
77 changes: 77 additions & 0 deletions .github/workflows/UbuntuArm64_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: ubuntu Arm64 build workflows

on:
push:
branches:
- 'develop'
paths:
- 'XEngine_Source/**'
- 'XEngine_Release/**'
- '.github/**'

jobs:
build:
runs-on: ubuntu-24.04
env:
IMAGE_NAME: ubuntu:24.04

strategy:
fail-fast: false
matrix:
arch: [linux/arm64]

steps:
- name: Checkout main repository code
uses: actions/checkout@v4
with:
ref: 'develop'

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Build ${{ matrix.arch }}
run: |
docker run --platform ${{ matrix.arch }} --rm \
-v ${{ github.workspace }}:/workspace \
-w /workspace ${{ env.IMAGE_NAME }} /bin/sh -c '
set -e
apt update -y
apt install git make g++ wget curl jq unzip -y
apt install liblua5.4-dev libopencv-dev libopencv-contrib-dev libqrencode-dev libleptonica-dev libtesseract-dev -y

git config --global --add safe.directory /workspace
git submodule init
git submodule update

latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_24.04_Arm64.zip
unzip ./XEngine_UBuntu_24.04_Arm64.zip -d ./XEngine_UBuntu_24.04_Arm64
cd XEngine_UBuntu_24.04_Arm64

chmod 777 ./XEngine_LINEnv.sh
./XEngine_LINEnv.sh -i 0

cp -rf ./XEngine_Include /usr/local/include
find ./XEngine_Linux -name "*.so" -exec cp {} /usr/local/lib \;
ldconfig
cd ..

cd XEngine_Source
make ARCH=Arm64 RELEASE=1
make FLAGS=InstallAll
make FLAGS=CleanAll
cd ..

cd XEngine_Release
chmod 777 copydb.sh
./copydb.sh
./XEngine_APIServiceApp -t
chown -R $(id -u):$(id -g) .
chmod -R a+r . '

- name: Upload folder as artifact with ubuntu Arm64
uses: actions/upload-artifact@v4
with:
name: XEngine_APIServiceApp-Ubuntu_24.04_Arm64
path: XEngine_Release/
retention-days: 1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ubuntu build workflows
name: ubuntu x86_64 build workflows

on:
push:
Expand Down Expand Up @@ -83,20 +83,22 @@ jobs:
- name: test
run: |
cd XEngine_Release
chmod 777 copydb.sh
./copydb.sh
./XEngine_APIServiceApp -t

- name: Upload folder as artifact with ubuntu22.04
if: matrix.os == 'ubuntu-22.04'
uses: actions/upload-artifact@v4
with:
name: XEngine_APIServiceApp-x86_64-Ubuntu-22.04
name: XEngine_APIServiceApp-Ubuntu_22.04_x86_64
path: XEngine_Release/
retention-days: 1

- name: Upload folder as artifact with ubuntu24.04
if: matrix.os == 'ubuntu-24.04'
uses: actions/upload-artifact@v4
with:
name: XEngine_APIServiceApp-x86_64-Ubuntu-24.04
name: XEngine_APIServiceApp-Ubuntu_24.04_x86_64
path: XEngine_Release/
retention-days: 1
6 changes: 4 additions & 2 deletions .github/workflows/macbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,21 @@ jobs:
- name: test
run: |
cd XEngine_Release
chmod 777 copydb.sh
./copydb.sh
./XEngine_APIServiceApp -t

- name: Upload folder as artifact with mac x64
if: matrix.os == 'macos-13'
uses: actions/upload-artifact@v4
with:
name: XEngine_APIServiceApp-x86_64-Mac
name: XEngine_APIServiceApp-Mac_x86_64
path: XEngine_Release/
retention-days: 1
- name: Upload folder as artifact with mac arm
if: matrix.os == 'macos-14'
uses: actions/upload-artifact@v4
with:
name: XEngine_APIServiceApp-Arm64-Mac
name: XEngine_APIServiceApp-Mac_Arm64
path: XEngine_Release/
retention-days: 1
Loading
Loading