Skip to content
Merged
Changes from all commits
Commits
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
46 changes: 45 additions & 1 deletion .github/workflows/mcpx-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,50 @@ jobs:
MCPX_TEST_REQUIRE: deno,bun,node,python3
run: go test ./internal/e2e -count=1 -timeout 30m

e2e-host-linux-arm64:
name: "environment: mcpx flake binary e2e (linux arm64)"
# #13388 (tier 2, from #1983): the e2e binary suite on a second
# architecture. Mirrors nix-e2e on the arm64 runner against the
# aarch64-linux flake build, which the flake already produces with
# no flake change. arm64 catches the word-size/alignment and
# cgo-vs-pure-Go class that the macOS leg (second OS, covered by
# mcpx.yml's nightly stress job) cannot. Tier-2 placement: this
# workflow is nightly + dispatch, not a PR gate (see
# .github/ci-policy.md).
runs-on: ubuntu-24.04-arm
timeout-minutes: 60
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version-file: pkgs/mcpx/go.mod
cache: true
cache-dependency-path: pkgs/mcpx/go.sum
- uses: denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed # v2.0.5
with:
deno-version: v2.x
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
- uses: actions/setup-node@v7
with:
node-version: 24
- uses: actions/setup-python@v7
with:
python-version: "3.x"
- uses: DeterminateSystems/nix-installer-action@3138316df39ed29be04236d7ffc686fa525866aa # v23
- uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15
continue-on-error: true
with:
use-flakehub: false
use-gha-cache: true
- name: Build the wrapped flake binary (aarch64-linux)
run: nix build .#packages.aarch64-linux.mcpx --print-build-logs --out-link result-mcpx
- name: Run e2e against the wrapped flake binary
working-directory: pkgs/mcpx
env:
MCPX_TEST_BINARY: ${{ github.workspace }}/result-mcpx/bin/mcpx
MCPX_TEST_REQUIRE: deno,bun,node,python3
run: go test ./internal/e2e -count=1 -timeout 30m

container-e2e:
name: "environment: mcpx container e2e"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -392,7 +436,7 @@ jobs:
ci-ok:
name: "mcpx-test ci-ok"
needs:
[init, unit, lint, plugin-ts, e2e, nix-e2e, container-e2e, remote-smoke]
[init, unit, lint, plugin-ts, e2e, nix-e2e, e2e-host-linux-arm64, container-e2e, remote-smoke]
if: always() && (github.event_name != 'pull_request' || github.event.pull_request.draft == false)
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down