Skip to content

Commit 7c806bc

Browse files
authored
Merge pull request #33 from libxengine/develop
V3.12 Merge
2 parents 7719f9f + 7306ba8 commit 7c806bc

File tree

69 files changed

+1811
-583
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1811
-583
lines changed

.github/workflows/RockyArm64_build.yml

Lines changed: 0 additions & 80 deletions
This file was deleted.

.github/workflows/Rocky_build.yml

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
name: rocky build workflows
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
paths:
8+
- 'XEngine_Source/**'
9+
- 'XEngine_Release/**'
10+
- '.github/**'
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
build:
17+
runs-on: ${{ matrix.runner }}
18+
container:
19+
image: rockylinux/rockylinux:${{ matrix.version }}
20+
options: --platform ${{ matrix.platform }}
21+
strategy:
22+
matrix:
23+
include:
24+
- arch: amd64
25+
runner: ubuntu-24.04
26+
platform: linux/amd64
27+
artifact: x86-64
28+
version: 9
29+
- arch: amd64
30+
runner: ubuntu-24.04
31+
platform: linux/amd64
32+
artifact: x86-64
33+
version: 10
34+
- arch: arm64
35+
runner: ubuntu-24.04-arm
36+
platform: linux/arm64
37+
artifact: Arm64
38+
version: 9
39+
- arch: arm64
40+
runner: ubuntu-24.04-arm
41+
platform: linux/arm64
42+
artifact: Arm64
43+
version: 10
44+
45+
steps:
46+
- name: Checkout main repository code
47+
uses: actions/checkout@v4
48+
with:
49+
ref: 'develop'
50+
51+
- name: Checkout dependency repository (xengine)
52+
uses: actions/checkout@v4
53+
with:
54+
repository: libxengine/libxengine
55+
path: libxengine
56+
57+
- name: sub module checkout (opensource)
58+
uses: actions/checkout@v4
59+
with:
60+
repository: libxengine/XEngine_OPenSource
61+
path: XEngine_Source/XEngine_DependLibrary
62+
63+
- name: Set TERM variable
64+
run: echo "TERM=xterm" >> $GITHUB_ENV
65+
66+
- name: install system package
67+
run: |
68+
dnf clean all
69+
dnf makecache
70+
dnf distro-sync -y
71+
dnf update -y
72+
dnf install gcc g++ make git jq unzip wget -y
73+
- name: install xengine library
74+
run: |
75+
latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
76+
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}.zip
77+
unzip ./XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}.zip -d ./XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}
78+
cd XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}
79+
80+
chmod 777 *
81+
./XEngine_LINEnv.sh -i 3
82+
- name: install depend library
83+
run: dnf install libsrtp-devel srt-devel -y
84+
85+
- name: make
86+
run: |
87+
cd XEngine_Source
88+
make
89+
make FLAGS=InstallAll
90+
make FLAGS=CleanAll
91+
92+
make RELEASE=1
93+
make FLAGS=InstallAll
94+
make FLAGS=CleanAll
95+
96+
- name: test
97+
run: |
98+
cd XEngine_Release
99+
./XEngine_StreamMediaApp -t
100+
101+
- name: Upload folder as artifact with RockyLinux
102+
uses: actions/upload-artifact@v4
103+
with:
104+
name: XEngine_StreamMediaApp-RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}
105+
path: XEngine_Release/
106+
retention-days: 1

.github/workflows/UbuntuArm64_build.yml

Lines changed: 0 additions & 75 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CodeQL Advanced
33
on:
44
push:
55
branches:
6-
- 'develop'
6+
- develop
77
paths:
88
- 'XEngine_Source/**'
99
- 'XEngine_Release/**'
@@ -40,6 +40,9 @@ jobs:
4040
git submodule init
4141
git submodule update
4242
43+
- name: Set TERM variable
44+
run: echo "TERM=xterm" >> $GITHUB_ENV
45+
4346
- name: Set up Dependency Environment
4447
run: |
4548
cd libxengine

.github/workflows/cppcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: cpp check workflows
33
on:
44
push:
55
branches:
6-
- 'develop'
6+
- develop
77
paths:
88
- 'XEngine_Source/**'
99
- 'XEngine_Release/**'

0 commit comments

Comments
 (0)