mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +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 \
|
sudo apt-get install -y \
|
||||||
build-essential \
|
build-essential \
|
||||||
nasm \
|
nasm \
|
||||||
libogg-dev \
|
git \
|
||||||
libxft-dev \
|
curl \
|
||||||
|
zip \
|
||||||
|
unzip \
|
||||||
|
pkg-config \
|
||||||
|
autoconf \
|
||||||
|
autoconf-archive \
|
||||||
|
automake \
|
||||||
|
make \
|
||||||
|
libtool \
|
||||||
|
libltdl-dev \
|
||||||
libx11-dev \
|
libx11-dev \
|
||||||
libxxf86vm-dev \
|
libxft-dev \
|
||||||
libopenal-dev \
|
libxext-dev \
|
||||||
libasound2-dev \
|
libwayland-dev \
|
||||||
libpipewire-0.3-dev \
|
libxkbcommon-dev \
|
||||||
portaudio19-dev \
|
libegl1-mesa-dev \
|
||||||
oss4-dev \
|
libibus-1.0-dev \
|
||||||
libjack-dev \
|
|
||||||
libpulse-dev \
|
|
||||||
libdbus-1-dev \
|
|
||||||
libfreetype6-dev \
|
|
||||||
libxcursor-dev \
|
|
||||||
libxinerama-dev \
|
|
||||||
libxi-dev \
|
|
||||||
libxrandr-dev \
|
|
||||||
libxss-dev \
|
|
||||||
libglu1-mesa-dev \
|
|
||||||
libgtk-3-dev
|
libgtk-3-dev
|
||||||
|
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
python3
|
python3
|
||||||
|
|
||||||
pip install jinja2
|
pip install jinja2
|
||||||
|
|
||||||
|
|
||||||
- name: Configure, Build & Install
|
- name: Configure, Build & Install
|
||||||
uses: threeal/cmake-action@v1.3.0
|
uses: threeal/cmake-action@v1.3.0
|
||||||
|
|
@ -90,20 +90,20 @@ jobs:
|
||||||
c-compiler: ${{matrix.config.cc}}
|
c-compiler: ${{matrix.config.cc}}
|
||||||
cxx-compiler: ${{matrix.config.cxx}}
|
cxx-compiler: ${{matrix.config.cxx}}
|
||||||
generator: ${{matrix.config.generator}}
|
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
|
run-build: true
|
||||||
build-args: --config ${{matrix.config.build_type}} --target install
|
build-args: --config ${{matrix.config.build_type}} --target install
|
||||||
|
|
||||||
- name: Unit Tests
|
- name: Unit Tests
|
||||||
run: |
|
run: |
|
||||||
cd "${{github.workspace}}/My Projects/Torque3D/game"
|
cd "${{github.workspace}}/My_Projects/Torque3D/game"
|
||||||
./Torque3D runTests.tscript
|
./Torque3D runTests.tscript
|
||||||
|
|
||||||
- name: Test Reporter
|
- name: Test Reporter
|
||||||
uses: phoenix-actions/test-reporting@v14
|
uses: phoenix-actions/test-reporting@v14
|
||||||
with:
|
with:
|
||||||
name: Linux test results
|
name: Linux test results
|
||||||
path: "**/My Projects/Torque3D/game/test_detail.xml"
|
path: "**/My_Projects/Torque3D/game/test_detail.xml"
|
||||||
reporter: java-junit
|
reporter: java-junit
|
||||||
fail-on-error: true
|
fail-on-error: true
|
||||||
if: github.event_name != 'pull_request'
|
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
|
checks: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-linux:
|
build-macos:
|
||||||
if: github.repository == 'TorqueGameEngines/Torque3D'
|
if: github.repository == 'TorqueGameEngines/Torque3D'
|
||||||
name: ${{matrix.config.name}}
|
name: ${{matrix.config.name}}
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
@ -60,20 +60,20 @@ jobs:
|
||||||
c-compiler: ${{matrix.config.cc}}
|
c-compiler: ${{matrix.config.cc}}
|
||||||
cxx-compiler: ${{matrix.config.cxx}}
|
cxx-compiler: ${{matrix.config.cxx}}
|
||||||
generator: ${{matrix.config.generator}}
|
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
|
run-build: true
|
||||||
build-args: --config ${{matrix.config.build_type}} --target install
|
build-args: --config ${{matrix.config.build_type}} --target install
|
||||||
|
|
||||||
- name: Unit Tests
|
- name: Unit Tests
|
||||||
run: |
|
run: |
|
||||||
cd "${{github.workspace}}/My Projects/Torque3D/game"
|
cd "${{github.workspace}}/My_Projects/Torque3D/game"
|
||||||
./Torque3D.app/Contents/MacOS/Torque3D runTests.tscript
|
./Torque3D.app/Contents/MacOS/Torque3D runTests.tscript
|
||||||
|
|
||||||
- name: Test Reporter
|
- name: Test Reporter
|
||||||
uses: phoenix-actions/test-reporting@v14
|
uses: phoenix-actions/test-reporting@v14
|
||||||
with:
|
with:
|
||||||
name: MacOS Test results
|
name: MacOS Test results
|
||||||
path: "**/My Projects/Torque3D/game/test_detail.xml"
|
path: "**/My_Projects/Torque3D/game/test_detail.xml"
|
||||||
reporter: java-junit
|
reporter: java-junit
|
||||||
fail-on-error: true
|
fail-on-error: true
|
||||||
if: github.event_name != 'pull_request'
|
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}}
|
c-compiler: ${{matrix.config.cc}}
|
||||||
cxx-compiler: ${{matrix.config.cxx}}
|
cxx-compiler: ${{matrix.config.cxx}}
|
||||||
generator: ${{matrix.config.generator}}
|
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
|
run-build: true
|
||||||
build-args: --config ${{matrix.config.build_type}} --target install
|
build-args: --config ${{matrix.config.build_type}} --target install
|
||||||
|
|
||||||
- name: Unit Tests
|
- name: Unit Tests
|
||||||
run: |
|
run: |
|
||||||
cd "${{github.workspace}}/My Projects/Torque3D/game"
|
cd "${{github.workspace}}/My_Projects/Torque3D/game"
|
||||||
./Torque3D.exe runTests.tscript
|
./Torque3D.exe runTests.tscript
|
||||||
|
|
||||||
- name: Test Reporter
|
- name: Test Reporter
|
||||||
uses: phoenix-actions/test-reporting@v14
|
uses: phoenix-actions/test-reporting@v14
|
||||||
with:
|
with:
|
||||||
name: Windows test results
|
name: Windows test results
|
||||||
path: "**/My Projects/Torque3D/game/test_detail.xml"
|
path: "**/My_Projects/Torque3D/game/test_detail.xml"
|
||||||
reporter: java-junit
|
reporter: java-junit
|
||||||
fail-on-error: true
|
fail-on-error: true
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue