Skip to content

Bump CUDA-Q commit (#29) #1

Bump CUDA-Q commit (#29)

Bump CUDA-Q commit (#29) #1

Workflow file for this run

name: CUDAQ cache
on:
workflow_dispatch:
branches:
- main
push:
branches:
- main
paths:
- '.github/workflows/cudaq_cache.yaml'
- '.github/actions/get-cudaq-build/**'
- '.cudaq_version'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-cudaq:
name: Build CUDAQ
runs-on: ${{ startsWith(github.repository, 'NVIDIA/cudaqx') && 'linux-amd64-cpu32' || 'ubuntu-latest' }}
container: ghcr.io/nvidia/cuda-quantum-devdeps:ext-cu12.0-gcc11-main
permissions:
actions: write
contents: read
pull-requests: read
steps:
- name: Get code
uses: actions/checkout@v4
with:
set-safe-directory: true
- name: Get required CUDAQ version
id: get-cudaq-version
uses: ./.github/actions/get-cudaq-version
- name: Get CUDAQ build
uses: ./.github/actions/get-cudaq-build
with:
repo: ${{ steps.get-cudaq-version.outputs.repo }}
ref: ${{ steps.get-cudaq-version.outputs.ref }}
token: ${{ secrets.CUDAQ_ACCESS_TOKEN }}
save-build: true
save-ccache: true