From 7b8aeccccad4cec1c8676fe2d13eec6279c23a62 Mon Sep 17 00:00:00 2001 From: Ben Howe Date: Tue, 14 Jan 2025 04:26:48 +0000 Subject: [PATCH] Add platform input to cudaq_cache job Signed-off-by: Ben Howe --- .github/workflows/all_libs.yaml | 1 + .github/workflows/cudaq_cache.yaml | 1 + .github/workflows/docs.yaml | 1 + .github/workflows/lib_qec.yaml | 1 + .github/workflows/lib_solvers.yaml | 1 + .github/workflows/pr_workflow.yaml | 1 + 6 files changed, 6 insertions(+) diff --git a/.github/workflows/all_libs.yaml b/.github/workflows/all_libs.yaml index ef0e0b5..5e2d626 100644 --- a/.github/workflows/all_libs.yaml +++ b/.github/workflows/all_libs.yaml @@ -49,6 +49,7 @@ jobs: ref: ${{ steps.get-cudaq-version.outputs.ref }} token: ${{ secrets.CUDAQ_ACCESS_TOKEN }} pr-number: ${{ steps.export-pr-info.outputs.pr_number }} + platform: ${{ matrix.platform }} # ======================================================================== # Build diff --git a/.github/workflows/cudaq_cache.yaml b/.github/workflows/cudaq_cache.yaml index f85602e..a4b5ce9 100644 --- a/.github/workflows/cudaq_cache.yaml +++ b/.github/workflows/cudaq_cache.yaml @@ -48,4 +48,5 @@ jobs: token: ${{ secrets.CUDAQ_ACCESS_TOKEN }} save-build: true save-ccache: true + platform: ${{ matrix.platform }} diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 2adc7ce..a82bfec 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -49,6 +49,7 @@ jobs: repo: ${{ steps.get-cudaq-version.outputs.repo }} ref: ${{ steps.get-cudaq-version.outputs.ref }} token: ${{ secrets.CUDAQ_ACCESS_TOKEN }} + platform: 'amd64' # ======================================================================== # Build docs diff --git a/.github/workflows/lib_qec.yaml b/.github/workflows/lib_qec.yaml index ed81e01..8a233a9 100644 --- a/.github/workflows/lib_qec.yaml +++ b/.github/workflows/lib_qec.yaml @@ -49,6 +49,7 @@ jobs: ref: ${{ steps.get-cudaq-version.outputs.ref }} token: ${{ secrets.CUDAQ_ACCESS_TOKEN }} pr-number: ${{ steps.export-pr-info.outputs.pr_number }} + platform: ${{ matrix.platform }} # ======================================================================== # Build library diff --git a/.github/workflows/lib_solvers.yaml b/.github/workflows/lib_solvers.yaml index 8eb765e..eb80349 100644 --- a/.github/workflows/lib_solvers.yaml +++ b/.github/workflows/lib_solvers.yaml @@ -49,6 +49,7 @@ jobs: ref: ${{ steps.get-cudaq-version.outputs.ref }} token: ${{ secrets.CUDAQ_ACCESS_TOKEN }} pr-number: ${{ steps.export-pr-info.outputs.pr_number }} + platform: ${{ matrix.platform }} # ======================================================================== # Build library diff --git a/.github/workflows/pr_workflow.yaml b/.github/workflows/pr_workflow.yaml index 99ba751..a946910 100644 --- a/.github/workflows/pr_workflow.yaml +++ b/.github/workflows/pr_workflow.yaml @@ -120,6 +120,7 @@ jobs: pr-number: ${{ fromJSON(steps.get-pr-info.outputs.pr-info).number }} save-build: true save-ccache: false + platform: ${{ matrix.platform }} build-docs: name: Docs