From 57a94095e885e9d1f2a5809b2c54950f31276374 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Mon, 1 Jun 2026 18:26:29 +1000 Subject: [PATCH] =?UTF-8?q?ci:=20wgpu=20mac=20=E2=80=94=20drop=20the=20bar?= =?UTF-8?q?e=20\`-j\`=20flag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ninja rejects \`-j\` without a numeric argument (unlike make, which treats bare \`-j\` as unlimited parallelism). Build step exited with \`ninja: fatal: invalid -j parameter\`. Drop the \`-- -j\` tail entirely; Ninja already parallelises across available cores by default. Co-Authored-By: Claude Opus 4.7 --- .github/workflows/ci-wgpu-mac.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-wgpu-mac.yml b/.github/workflows/ci-wgpu-mac.yml index 322a86a923..c868f76b83 100644 --- a/.github/workflows/ci-wgpu-mac.yml +++ b/.github/workflows/ci-wgpu-mac.yml @@ -100,10 +100,11 @@ jobs: # Skip IfcViewerWgpuMinimal: its createSurface has no Metal path # yet (task #32). Static lib compiles cleanly because the X11 / # Wayland surface blocks are wrapped in #if defined(Q_OS_LINUX). + # No `-- -j N`: Ninja parallelises by default (it rejects bare + # `-j` unlike make). run: | cmake --build build \ - --target IfcViewerWgpu test_wgpu_selection test_wgpu_visibility \ - -- -j + --target IfcViewerWgpu test_wgpu_selection test_wgpu_visibility - name: Run state tests working-directory: build