Github: Re-enable regression tests for ci-build workflow
This commit is contained in:
31
.github/workflows/ci-build.yml
vendored
31
.github/workflows/ci-build.yml
vendored
@@ -175,9 +175,14 @@ jobs:
|
|||||||
|
|
||||||
echo "::group::Build"
|
echo "::group::Build"
|
||||||
echo "Running on $(nproc) cores"
|
echo "Running on $(nproc) cores"
|
||||||
cmake --build . -j $(nproc)
|
cmake --build . -j $(nproc) -t all openttd_test
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: |
|
||||||
|
cd build
|
||||||
|
ctest -j $(nproc) --timeout 120
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -270,9 +275,14 @@ jobs:
|
|||||||
|
|
||||||
echo "::group::Build"
|
echo "::group::Build"
|
||||||
echo "Running on $(sysctl -n hw.logicalcpu) cores"
|
echo "Running on $(sysctl -n hw.logicalcpu) cores"
|
||||||
cmake --build . -j $(sysctl -n hw.logicalcpu)
|
cmake --build . -j $(sysctl -n hw.logicalcpu) -t all openttd_test
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: |
|
||||||
|
cd build
|
||||||
|
ctest -j $(sysctl -n hw.logicalcpu) --timeout 120
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -363,9 +373,16 @@ jobs:
|
|||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
echo "::group::Build"
|
echo "::group::Build"
|
||||||
cmake --build .
|
cmake --build . -t all openttd_test
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cd build
|
||||||
|
ctest --timeout 120
|
||||||
|
|
||||||
|
|
||||||
msys2:
|
msys2:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -436,9 +453,15 @@ jobs:
|
|||||||
|
|
||||||
echo "::group::Build"
|
echo "::group::Build"
|
||||||
echo "Running on $(nproc) cores"
|
echo "Running on $(nproc) cores"
|
||||||
cmake --build . -j $(nproc)
|
cmake --build . -j $(nproc) -t all openttd_test
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
shell: msys2 {0}
|
||||||
|
run: |
|
||||||
|
cd build
|
||||||
|
ctest --timeout 120
|
||||||
|
|
||||||
check_annotations:
|
check_annotations:
|
||||||
name: Check Annotations
|
name: Check Annotations
|
||||||
needs:
|
needs:
|
||||||
|
Reference in New Issue
Block a user