Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
dfcb100
Enable sharded concurrent NP and LR tests
huangminghuang Jun 5, 2026
6725202
Restore NP labels for sharded tests
huangminghuang Jun 5, 2026
d4a8d83
Remove unshare from CTest commands
huangminghuang Jun 5, 2026
c3839d6
Auto-assign sharded test port offsets
huangminghuang Jun 5, 2026
8a09b81
Shard NP and LR test ports by category
huangminghuang Jun 5, 2026
458d893
Rename port sharding design doc
huangminghuang Jun 5, 2026
144299f
Run CI build test package per platform
huangminghuang Jun 5, 2026
9c55111
Document opt-in test port avoidance
huangminghuang Jun 6, 2026
a0ace8d
Address port-sharded CI review
huangminghuang Jun 8, 2026
967b92f
Merge remote-tracking branch 'origin/codex/port-sharded-np-lr-tests' …
huangminghuang Jun 9, 2026
d9c63da
Merge pull request #381 from Wire-Network/wire-sysio-test-port-listen…
huangminghuang Jun 9, 2026
5c0d61e
Merge origin/master into codex/port-sharded-np-lr-tests
huangminghuang Jun 10, 2026
dfd969b
Use sharded ports in tests
huangminghuang Jun 11, 2026
283bac9
Cache CTest cost data in CI
huangminghuang Jun 11, 2026
3c932ee
Remove obsolete build base workflow
huangminghuang Jun 11, 2026
532cc3c
Fix launcher option replacement guard
huangminghuang Jun 12, 2026
7144d19
Merge pull request #400 from Wire-Network/codex/launcher-option-port-fix
huangminghuang Jun 12, 2026
a0ed0ac
Merge remote-tracking branch 'origin/master' into codex/port-sharded-…
huangminghuang Jun 14, 2026
d129ef3
Make snapshot tests port-sharded aware
huangminghuang Jun 14, 2026
68dfc90
Merge remote-tracking branch 'origin/master' into codex/port-sharded-…
huangminghuang Jun 16, 2026
73b9187
Merge remote-tracking branch 'origin/master' into codex/port-sharded-…
huangminghuang Jun 17, 2026
98bc154
Address port sharding review feedback
huangminghuang Jun 18, 2026
f0509d9
Stabilize liveness test after producer shutdown
huangminghuang Jun 18, 2026
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
45 changes: 45 additions & 0 deletions .github/scripts/build-sysio.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/usr/bin/env bash
set -euo pipefail

BUILD_JOBS="${1:?usage: build-sysio.sh <build-jobs>}"

echo "Building for ${SYSIO_PLATFORM_NAME:-unknown platform}"

# Use $GITHUB_WORKSPACE (container path /__w/...) so ccache/vcpkg write to
# the mounted volume and persist for actions/cache to save.
export CCACHE_DIR="$GITHUB_WORKSPACE/.ccache"
export VCPKG_BINARY_SOURCES="clear;files,$GITHUB_WORKSPACE/vcpkg-binary-cache,readwrite"
export VCPKG_TARGET_TRIPLET=x64-linux-release
export VCPKG_HOST_TRIPLET=x64-linux-release
export VCPKG_OVERLAY_TRIPLETS="$GITHUB_WORKSPACE/.github/vcpkg-triplets"

# Clean intermediate vcpkg artifacts but preserve binary cache and downloads.
rm -rf vcpkg/buildtrees vcpkg/packages vcpkg/vcpkg_installed \
build/vcpkg_installed ~/.cache/vcpkg ~/.vcpkg

mkdir -p "$GITHUB_WORKSPACE/vcpkg-binary-cache"

./vcpkg/bootstrap-vcpkg.sh

chown -R "$(id -u):$(id -g)" "$PWD"

# Reset ccache stats for this build.
ccache -z || true

cmake -B build -S . -G Ninja ${SYSIO_PLATFORM_HAS_EXTRAS_CMAKE:+-C /extras.cmake} \
-DCMAKE_C_COMPILER="$CC" \
-DCMAKE_CXX_COMPILER="$CXX" \
-DCMAKE_MAKE_PROGRAM="$CMAKE_MAKE_PROGRAM" \
-DCMAKE_TOOLCHAIN_FILE="$PWD/vcpkg/scripts/buildsystems/vcpkg.cmake" \
-DCMAKE_BUILD_TYPE=Release \
-DVCPKG_TARGET_TRIPLET="$VCPKG_TARGET_TRIPLET" \
-DVCPKG_HOST_TRIPLET="$VCPKG_HOST_TRIPLET" \
-DVCPKG_OVERLAY_TRIPLETS="$VCPKG_OVERLAY_TRIPLETS" \
-DENABLE_CCACHE=ON \
-DENABLE_TESTS=ON \
${CMAKE_PREFIX_PATH:+-DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH}

cmake --build build -- -j "$BUILD_JOBS"

echo "=== ccache statistics ==="
ccache -s || true
Loading