Skip to content

ci:reset build

ci:reset build #8

Workflow file for this run

name: rocky build workflows
on:
push:
branches:
- 'master'
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.runner }}
container:
image: rockylinux/rockylinux:9.5
options: --platform ${{ matrix.platform }}
strategy:
matrix:
include:
- arch: amd64
runner: ubuntu-24.04
platform: linux/amd64
artifact: x86-64
- arch: arm64
runner: ubuntu-24.04-arm
platform: linux/arm64
artifact: Arm64
steps:
- name: Checkout main repository code
uses: actions/checkout@v4
- name: Checkout dependency repository (xengine)
uses: actions/checkout@v4
with:
repository: libxengine/libxengine
path: libxengine
- name: install system package
run: |
dnf update -y
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
- 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_${{ matrix.artifact }}.zip
unzip ./XEngine_RockyLinux_9_${{ matrix.artifact }}.zip -d ./XEngine_RockyLinux_9_${{ matrix.artifact }}
cd XEngine_RockyLinux_9_${{ matrix.artifact }}
cp -rf ./XEngine_Include /usr/local/include
find ./XEngine_Linux -name "*.so" -exec cp {} /usr/lib64 \;
ldconfig
- name: make
run: |
cd XEngine_Module
cd jsoncpp
make
cd ..
cd tinyxml2
make
cd ..
cd XEngine_InfoReport
make
cd ..
cd XEngine_AVPlayer
make