ci runners

This commit is contained in:
marauder2k7 2026-03-12 21:04:05 +00:00
parent d0a00da9a0
commit 378fb30642
3 changed files with 29 additions and 29 deletions

View file

@ -56,31 +56,31 @@ jobs:
sudo apt-get install -y \
build-essential \
nasm \
libogg-dev \
libxft-dev \
git \
curl \
zip \
unzip \
pkg-config \
autoconf \
autoconf-archive \
automake \
make \
libtool \
libltdl-dev \
libx11-dev \
libxxf86vm-dev \
libopenal-dev \
libasound2-dev \
libpipewire-0.3-dev \
portaudio19-dev \
oss4-dev \
libjack-dev \
libpulse-dev \
libdbus-1-dev \
libfreetype6-dev \
libxcursor-dev \
libxinerama-dev \
libxi-dev \
libxrandr-dev \
libxss-dev \
libglu1-mesa-dev \
libxft-dev \
libxext-dev \
libwayland-dev \
libxkbcommon-dev \
libegl1-mesa-dev \
libibus-1.0-dev \
libgtk-3-dev
sudo apt-get install -y \
python3
pip install jinja2
- name: Configure, Build & Install
uses: threeal/cmake-action@v1.3.0
@ -90,20 +90,20 @@ jobs:
c-compiler: ${{matrix.config.cc}}
cxx-compiler: ${{matrix.config.cxx}}
generator: ${{matrix.config.generator}}
options: CMAKE_BUILD_TYPE=${{matrix.config.build_type}} TORQUE_APP_NAME=Torque3D TORQUE_TESTING=ON
options: CMAKE_BUILD_TYPE=${{matrix.config.build_type}} GIT_CI_BUILD=ON TORQUE_APP_NAME=Torque3D TORQUE_TESTING=ON TORQUE_LIB_ROOT_DIRECTORY="${{github.workspace}}/Engine/lib"
run-build: true
build-args: --config ${{matrix.config.build_type}} --target install
- name: Unit Tests
run: |
cd "${{github.workspace}}/My Projects/Torque3D/game"
cd "${{github.workspace}}/My_Projects/Torque3D/game"
./Torque3D runTests.tscript
- name: Test Reporter
uses: phoenix-actions/test-reporting@v14
with:
name: Linux test results
path: "**/My Projects/Torque3D/game/test_detail.xml"
path: "**/My_Projects/Torque3D/game/test_detail.xml"
reporter: java-junit
fail-on-error: true
if: github.event_name != 'pull_request'

View file

@ -17,7 +17,7 @@ permissions:
checks: write
jobs:
build-linux:
build-macos:
if: github.repository == 'TorqueGameEngines/Torque3D'
name: ${{matrix.config.name}}
runs-on: macos-latest
@ -60,20 +60,20 @@ jobs:
c-compiler: ${{matrix.config.cc}}
cxx-compiler: ${{matrix.config.cxx}}
generator: ${{matrix.config.generator}}
options: CMAKE_BUILD_TYPE=${{matrix.config.build_type}} TORQUE_APP_NAME=Torque3D TORQUE_TESTING=ON
options: CMAKE_BUILD_TYPE=${{matrix.config.build_type}} GIT_CI_BUILD=ON TORQUE_APP_NAME=Torque3D TORQUE_TESTING=ON TORQUE_LIB_ROOT_DIRECTORY="${{github.workspace}}/Engine/lib"
run-build: true
build-args: --config ${{matrix.config.build_type}} --target install
- name: Unit Tests
run: |
cd "${{github.workspace}}/My Projects/Torque3D/game"
cd "${{github.workspace}}/My_Projects/Torque3D/game"
./Torque3D.app/Contents/MacOS/Torque3D runTests.tscript
- name: Test Reporter
uses: phoenix-actions/test-reporting@v14
with:
name: MacOS Test results
path: "**/My Projects/Torque3D/game/test_detail.xml"
path: "**/My_Projects/Torque3D/game/test_detail.xml"
reporter: java-junit
fail-on-error: true
if: github.event_name != 'pull_request'

View file

@ -56,20 +56,20 @@ jobs:
c-compiler: ${{matrix.config.cc}}
cxx-compiler: ${{matrix.config.cxx}}
generator: ${{matrix.config.generator}}
options: CMAKE_BUILD_TYPE=${{matrix.config.build_type}} TORQUE_APP_NAME=Torque3D TORQUE_TESTING=ON
options: CMAKE_BUILD_TYPE=${{matrix.config.build_type}} GIT_CI_BUILD=ON TORQUE_APP_NAME=Torque3D TORQUE_TESTING=ON TORQUE_LIB_ROOT_DIRECTORY="${{github.workspace}}\\Engine\\lib"
run-build: true
build-args: --config ${{matrix.config.build_type}} --target install
- name: Unit Tests
run: |
cd "${{github.workspace}}/My Projects/Torque3D/game"
cd "${{github.workspace}}/My_Projects/Torque3D/game"
./Torque3D.exe runTests.tscript
- name: Test Reporter
uses: phoenix-actions/test-reporting@v14
with:
name: Windows test results
path: "**/My Projects/Torque3D/game/test_detail.xml"
path: "**/My_Projects/Torque3D/game/test_detail.xml"
reporter: java-junit
fail-on-error: true
if: github.event_name != 'pull_request'