Skip to content
Open
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/Nuget-publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ on:
permissions:
packages: write

env:
CTEST_PARALLEL_LEVEL: 40

jobs:
Windows:
runs-on: ${{ matrix.config.os }}
Expand Down Expand Up @@ -93,7 +96,7 @@ jobs:
-DBUILD_SHARED_LIBS=${{ matrix.config.shared }}
cmake --build . --config ${{ matrix.config.build_type }}
cmake --install . --strip --config ${{ matrix.config.build_type }}
ctest -VV -C ${{ matrix.config.build_type }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} -VV -C ${{ matrix.config.build_type }}
# vctip.exe (MSVC telemetry) and antivirus scans may transiently hold
# handles inside the build directory and make the rename fail, so
# retry for a while, killing vctip on each attempt
Expand Down Expand Up @@ -130,7 +133,7 @@ jobs:
-DBUILD_SHARED_LIBS=${{ matrix.config.shared }}
cmake --build . --config ${{ matrix.config.build_type }}
cmake --install . --strip --config ${{ matrix.config.build_type }}
ctest -VV -C ${{ matrix.config.build_type }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} -VV -C ${{ matrix.config.build_type }}
# vctip.exe (MSVC telemetry) and antivirus scans may transiently hold
# handles inside the build directory and make the rename fail, so
# retry for a while, killing vctip on each attempt
Expand Down Expand Up @@ -195,7 +198,7 @@ jobs:
-DBUILD_SHARED_LIBS=${{ matrix.config.shared }}
cmake --build . --config ${{ matrix.config.build_type }}
cmake --install . --strip
ctest -VV -C ${{ matrix.config.build_type }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} -VV -C ${{ matrix.config.build_type }}

- name: '📦 Pack artifact'
if: always()
Expand Down Expand Up @@ -288,7 +291,7 @@ jobs:
-DBUILD_SHARED_LIBS=${{ matrix.config.shared }}
cmake --build . --config ${{ matrix.config.build_type }}
cmake --install . --strip
ctest -VV -C ${{ matrix.config.build_type }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} -VV -C ${{ matrix.config.build_type }}

- name: '🚧 Linux aarch64 build'
if: contains(matrix.config.arch, 'aarch64')
Expand All @@ -306,7 +309,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX:PATH=instdir
cmake --build . --config ${{ matrix.config.build_type }}
cmake --install . --strip
ctest -VV -C ${{ matrix.config.build_type }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} -VV -C ${{ matrix.config.build_type }}

- name: '🚧 Linux ppc64le build'
if: contains(matrix.config.arch, 'ppc64le')
Expand All @@ -332,7 +335,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX:PATH=/instdir
cmake --build . --config ${{ matrix.config.build_type }}
cmake --install . --strip
ctest -VV -C ${{ matrix.config.build_type }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} -VV -C ${{ matrix.config.build_type }}

- name: '📦 Pack artifact'
if: always()
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/build-uc2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ on:
env:
# Specify build type either according to the tag release or manual override
BUILD_TYPE: ${{ inputs.buildType != '' && inputs.buildType || startsWith(github.ref, 'refs/tags') && 'Release' || 'Debug' }}
CTEST_PARALLEL_LEVEL: 40

jobs:
Windows:
Expand Down Expand Up @@ -167,7 +168,7 @@ jobs:
-DBUILD_SHARED_LIBS=${{ matrix.config.shared }}
cmake --build . --config ${{ env.BUILD_TYPE }}
cmake --install . --strip --config ${{ env.BUILD_TYPE }}
ctest -VV -C ${{ env.BUILD_TYPE }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} --output-on-failure -C ${{ env.BUILD_TYPE }}
# vctip.exe (MSVC telemetry) and antivirus scans may transiently hold
# handles inside the build directory and make the rename fail, so
# retry for a while, killing vctip on each attempt
Expand Down Expand Up @@ -203,7 +204,7 @@ jobs:
-DBUILD_SHARED_LIBS=${{ matrix.config.shared }}
cmake --build . --config ${{ env.BUILD_TYPE }}
cmake --install . --strip --config ${{ env.BUILD_TYPE }}
ctest -VV -C ${{ env.BUILD_TYPE }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} --output-on-failure -C ${{ env.BUILD_TYPE }}
# vctip.exe (MSVC telemetry) and antivirus scans may transiently hold
# handles inside the build directory and make the rename fail, so
# retry for a while, killing vctip on each attempt
Expand Down Expand Up @@ -241,7 +242,7 @@ jobs:
-DBUILD_SHARED_LIBS=${{ matrix.config.shared }}
cmake --build . --config ${{ env.BUILD_TYPE }}
cmake --install . --strip
ctest -VV -C ${{ env.BUILD_TYPE }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} --output-on-failure -C ${{ env.BUILD_TYPE }}

- name: '📦 Pack artifact'
if: always()
Expand Down Expand Up @@ -337,7 +338,7 @@ jobs:
-DBUILD_SHARED_LIBS=${{ matrix.config.shared }}
cmake --build . --config ${{ env.BUILD_TYPE }}
cmake --install . --strip
ctest -VV -C ${{ env.BUILD_TYPE }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} --output-on-failure -C ${{ env.BUILD_TYPE }}

- name: '🚧 Android x86_64 build'
if: contains(matrix.config.name, 'android')
Expand Down Expand Up @@ -499,7 +500,7 @@ jobs:
-DBUILD_SHARED_LIBS=${{ matrix.config.shared }}
cmake --build . --config ${{ env.BUILD_TYPE }}
cmake --install . --strip
ctest -VV -C ${{ env.BUILD_TYPE }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} --output-on-failure -C ${{ env.BUILD_TYPE }}

- name: '🚧 Linux aarch64 build'
if: contains(matrix.config.arch, 'aarch64')
Expand All @@ -517,7 +518,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX:PATH=instdir
cmake --build . --config ${{ env.BUILD_TYPE }}
cmake --install . --strip
ctest -VV -C ${{ env.BUILD_TYPE }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} --output-on-failure -C ${{ env.BUILD_TYPE }}

- name: '🚧 Linux ppc64le build'
if: contains(matrix.config.arch, 'ppc64le')
Expand All @@ -543,7 +544,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX:PATH=/instdir
cmake --build . --config ${{ env.BUILD_TYPE }}
cmake --install . --strip
ctest -VV -C ${{ env.BUILD_TYPE }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} --output-on-failure -C ${{ env.BUILD_TYPE }}

- name: '📦 Pack artifact'
if: always()
Expand Down Expand Up @@ -645,7 +646,7 @@ jobs:
-DBUILD_SHARED_LIBS=${{ matrix.config.shared }}
cmake --build . --config ${{ env.BUILD_TYPE }}
cmake --install . --strip
ctest -VV -C ${{ env.BUILD_TYPE }}
ctest --parallel ${{ env.CTEST_PARALLEL_LEVEL }} --output-on-failure -C ${{ env.BUILD_TYPE }}

- name: '📦 Pack artifact'
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zigbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
strategy:
fail-fast: false
matrix:
runs-on: [macos-latest]
runs-on: [macos-14]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
Expand Down
Loading
Loading