From 6f245033cee622fc14a7d758593d9707065f8791 Mon Sep 17 00:00:00 2001 From: Ben Howe Date: Sun, 19 Jan 2025 18:02:15 +0000 Subject: [PATCH] Update runs-on Signed-off-by: Ben Howe --- .github/workflows/build_wheels.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_wheels.yaml b/.github/workflows/build_wheels.yaml index 6dcec15..190cf11 100644 --- a/.github/workflows/build_wheels.yaml +++ b/.github/workflows/build_wheels.yaml @@ -74,7 +74,7 @@ jobs: run: | .github/workflows/scripts/build_cudaq.sh ${{ matrix.python }} - - name: Build wheels + - name: Build CUDA-QX wheels run: | .github/workflows/scripts/build_wheels.sh \ --cudaq-prefix $HOME/.cudaq \ @@ -97,7 +97,9 @@ jobs: fail-fast: false matrix: platform: ['amd64', 'arm64'] - runs-on: ${{ startsWith(github.repository, 'NVIDIA/cudaqx') && format('linux-{0}-cpu8', matrix.platform) || 'ubuntu-latest' }} + # Use 32 CPUs rather than 8 (above) because we are only spawning one job per + # platform rather than one job per Python version per platform. + runs-on: ${{ startsWith(github.repository, 'NVIDIA/cudaqx') && format('linux-{0}-cpu32', matrix.platform) || 'ubuntu-latest' }} permissions: actions: write contents: read