Update the CI run with multiplayer tests

This commit is contained in:
sfan5 2024-03-21 23:54:28 +01:00
parent 9cee9bc279
commit 6a7a613741
6 changed files with 16 additions and 6 deletions

View File

@ -8,6 +8,8 @@ on:
- 'lib/**.cpp' - 'lib/**.cpp'
- 'src/**.[ch]' - 'src/**.[ch]'
- 'src/**.cpp' - 'src/**.cpp'
- 'irr/**.[ch]'
- 'irr/**.cpp'
- '**/CMakeLists.txt' - '**/CMakeLists.txt'
- 'cmake/Modules/**' - 'cmake/Modules/**'
- 'android/**' - 'android/**'

View File

@ -8,6 +8,8 @@ on:
- 'lib/**.cpp' - 'lib/**.cpp'
- 'src/**.[ch]' - 'src/**.[ch]'
- 'src/**.cpp' - 'src/**.cpp'
- 'irr/**.[ch]'
- 'irr/**.cpp'
- '**/CMakeLists.txt' - '**/CMakeLists.txt'
- 'cmake/Modules/**' - 'cmake/Modules/**'
- 'util/ci/**' - 'util/ci/**'

View File

@ -8,6 +8,8 @@ on:
- 'lib/**.cpp' - 'lib/**.cpp'
- 'src/**.[ch]' - 'src/**.[ch]'
- 'src/**.cpp' - 'src/**.cpp'
- 'irr/**.[ch]'
- 'irr/**.cpp'
- '**/CMakeLists.txt' - '**/CMakeLists.txt'
- 'cmake/Modules/**' - 'cmake/Modules/**'
- 'util/ci/**' - 'util/ci/**'

View File

@ -14,24 +14,24 @@ on:
- '.github/workflows/**.yml' - '.github/workflows/**.yml'
jobs: jobs:
# Note that the integration tests are also run build.yml, but only when C++ code is changed. # Note that the integration tests are also run in build.yml, but only when C++ code is changed.
integration_tests: integration_tests:
name: "Compile and run multiplayer tests" name: "Compile and run multiplayer tests"
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
install_linux_deps clang-10 gdb libluajit-5.1-dev install_linux_deps clang gdb libluajit-5.1-dev
- name: Build - name: Build
run: | run: |
./util/ci/build.sh ./util/ci/build.sh
env: env:
CC: clang-10 CC: clang
CXX: clang++-10 CXX: clang++
CMAKE_FLAGS: "-DENABLE_GETTEXT=0 -DBUILD_SERVER=0" CMAKE_FLAGS: "-DENABLE_GETTEXT=0 -DBUILD_SERVER=0 -DBUILD_UNITTESTS=0"
- name: Integration test + devtest - name: Integration test + devtest
run: | run: |

View File

@ -8,6 +8,8 @@ on:
- 'lib/**.cpp' - 'lib/**.cpp'
- 'src/**.[ch]' - 'src/**.[ch]'
- 'src/**.cpp' - 'src/**.cpp'
- 'irr/**.[ch]'
- 'irr/**.cpp'
- '**/CMakeLists.txt' - '**/CMakeLists.txt'
- 'cmake/Modules/**' - 'cmake/Modules/**'
- '.github/workflows/macos.yml' - '.github/workflows/macos.yml'

View File

@ -8,6 +8,8 @@ on:
- 'lib/**.cpp' - 'lib/**.cpp'
- 'src/**.[ch]' - 'src/**.[ch]'
- 'src/**.cpp' - 'src/**.cpp'
- 'irr/**.[ch]'
- 'irr/**.cpp'
- '**/CMakeLists.txt' - '**/CMakeLists.txt'
- 'cmake/Modules/**' - 'cmake/Modules/**'
- 'util/buildbot/**' - 'util/buildbot/**'