ci: fix hangup in workflow for aarch64/Release/c++20

This commit is contained in:
Joao Paulo Magalhaes
2025-10-07 01:34:55 +01:00
parent 59325fde75
commit 9960afe300
2 changed files with 25 additions and 5 deletions

View File

@@ -47,13 +47,23 @@
-DRYML_SANITIZE=OFF \
-DRYML_LINT=OFF \
-DRYML_VALGRIND=OFF
#- name: Collect Workflow Telemetry # investigate occasional timeouts while building in aarch64/c++11/Release
# uses: catchpoint/workflow-telemetry-action@v2
- name:: "build $arch/c++$std/$buildtype"
run: |
cmake --build build --parallel --target ryml-test-build --verbose
run::
if (and (== buildtype "Release") (== std "20")):
do:: |
if [ ${{matrix.arch}} == aarch64 ] ; then
nproc=$((`nproc` / 2))
cmake --build build --parallel $nproc --target ryml-test-build --verbose
else
cmake --build build --parallel --target ryml-test-build --verbose
fi
else:: |
cmake --build build --parallel --target ryml-test-build --verbose
- name:: "test $arch/c++$std/$buildtype"
run: |
cmake --build build --target ryml-test-run
=>: nil
steps11 =::

View File

@@ -175,7 +175,12 @@ jobs:
-DRYML_VALGRIND=OFF
- name: build ${{matrix.arch}}/c++20/Release
run: |
cmake --build build --parallel --target ryml-test-build --verbose
if [ ${{matrix.arch}} == aarch64 ] ; then
nproc=$((`nproc` / 2))
cmake --build build --parallel $nproc --target ryml-test-build --verbose
else
cmake --build build --parallel --target ryml-test-build --verbose
fi
- name: test ${{matrix.arch}}/c++20/Release
run: |
cmake --build build --target ryml-test-run
@@ -403,7 +408,12 @@ jobs:
-DRYML_VALGRIND=OFF
- name: build ${{matrix.arch}}/c++20/Release
run: |
cmake --build build --parallel --target ryml-test-build --verbose
if [ ${{matrix.arch}} == aarch64 ] ; then
nproc=$((`nproc` / 2))
cmake --build build --parallel $nproc --target ryml-test-build --verbose
else
cmake --build build --parallel --target ryml-test-build --verbose
fi
- name: test ${{matrix.arch}}/c++20/Release
run: |
cmake --build build --target ryml-test-run