mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-08 13:14:33 +00:00
ci runners
This commit is contained in:
parent
d0a00da9a0
commit
378fb30642
3 changed files with 29 additions and 29 deletions
44
.github/workflows/build-linux-gcc.yml
vendored
44
.github/workflows/build-linux-gcc.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
8
.github/workflows/build-macos-clang.yml
vendored
8
.github/workflows/build-macos-clang.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
6
.github/workflows/build-windows-msvc.yml
vendored
6
.github/workflows/build-windows-msvc.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue