Skip to content

fixed:lua core for plugin #192

fixed:lua core for plugin

fixed:lua core for plugin #192

Workflow file for this run

name: ubuntu build workflows
on:
push:
branches:
- 'master'
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
- os: ubuntu-24.04
- os: ubuntu-22.04-arm
- os: ubuntu-24.04-arm
runs-on: ${{ matrix.os }}
steps:
# 检出您的主仓库代码
- name: Checkout main repository code
uses: actions/checkout@v6
# 检出依赖的xengine仓库到指定的xengine目录
- name: Checkout dependency repository (xengine)
uses: actions/checkout@v6
with:
repository: libxengine/libxengine
path: libxengine
- name: Set TERM variable
run: echo "TERM=xterm" >> $GITHUB_ENV
- name: Set up Dependency ubuntu24.04 Environment
if: matrix.os == 'ubuntu-24.04'
run: |
cd libxengine
chmod 777 *
sudo ./XEngine_LINEnv.sh -i 3
- name: Set up Dependency ubuntu22.04 Environment
if: matrix.os == 'ubuntu-22.04'
env:
GH_TOKEN: ${{ github.token }}
run: |
latest_tag=$(curl -s -H "Authorization: Bearer ${{ github.token }}" 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_22.04_x86-64.zip
unzip ./XEngine_UBuntu_22.04_x86-64.zip -d ./XEngine_UBuntu_22.04_x86-64
cd XEngine_UBuntu_22.04_x86-64
chmod 777 *
sudo ./XEngine_LINEnv.sh -i 3
- name: Set up Dependency ubuntu22.04 arm64 Environment
if: matrix.os == 'ubuntu-22.04-arm'
env:
GH_TOKEN: ${{ github.token }}
run: |
latest_tag=$(gh api repos/libxengine/libxengine/releases/latest --jq '.tag_name')
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_22.04_Arm64.zip
unzip ./XEngine_UBuntu_22.04_Arm64.zip -d ./XEngine_UBuntu_22.04_Arm64
cd XEngine_UBuntu_22.04_Arm64
chmod 777 *
sudo ./XEngine_LINEnv.sh -i 3
- name: Set up Dependency ubuntu24.04 arm64 Environment
if: matrix.os == 'ubuntu-24.04-arm'
env:
GH_TOKEN: ${{ github.token }}
run: |
latest_tag=$(gh api repos/libxengine/libxengine/releases/latest --jq '.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 *
sudo ./XEngine_LINEnv.sh -i 3
- name: make
run: |
cd XEngine_Module
cd jsoncpp
make
cd ..
cd tinyxml2
make
cd ..
cd XEngine_InfoReport
make
cd ..
cd XEngine_Token
make
cd ..
cd XEngine_MSGNotify
make
cd ..
cd XEngine_AIApi
make
cd ..
cd XEngine_Verification
make
cd ..
cd XEngine_PluginExtension
make