CUDApp
CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.
Brought by drakestapleton
CUDApp / .github / workflows / host-gates.yml
| 1 | # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | # Fresh-checkout host gates (issue #90). |
| 3 | # |
| 4 | # Composition, so this file stays small: |
| 5 | # - make test is already the host-tests job in ci.yml. It is not repeated here. |
| 6 | # - make test-runtime-api is runtime-api.yml. Issue #189 owns that job. |
| 7 | # - x86-64 make test is the x86-host-tests job in .github/workflows/host-x86.yml. This file does not add it. |
| 8 | # The AArch64 job below is the documented Linux host path with no GPU device opened. |
| 9 | # Budgets: make -j4, 30 minutes on the arm runner, 5 minutes for the figure check. |
| 10 | name: host-gates |
| 11 | on: |
| 12 | pull_request: |
| 13 | push: |
| 14 | branches: [main] |
| 15 | permissions: |
| 16 | contents: read |
| 17 | concurrency: |
| 18 | group: host-gates-${{ github.ref }} |
| 19 | cancel-in-progress: true |
| 20 | jobs: |
| 21 | figures: |
| 22 | runs-on: ubuntu-latest |
| 23 | timeout-minutes: 5 |
| 24 | steps: |
| 25 | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 26 | with: |
| 27 | persist-credentials: false |
| 28 | - name: Checker negative controls |
| 29 | run: bash tools/ci/host-gates.sh --self-test |
| 30 | - name: Figure check |
| 31 | run: bash tools/ci/host-gates.sh --figures |
| 32 | - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 |
| 33 | if: always() |
| 34 | with: |
| 35 | name: host-gates-figures-${{ github.sha }} |
| 36 | path: build/host-gates/ |
| 37 | if-no-files-found: warn |
| 38 | fresh-checkout: |
| 39 | runs-on: ubuntu-24.04-arm |
| 40 | timeout-minutes: 30 |
| 41 | steps: |
| 42 | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 43 | with: |
| 44 | persist-credentials: false |
| 45 | - name: Checker negative controls |
| 46 | run: bash tools/ci/host-gates.sh --self-test |
| 47 | - name: Host gates |
| 48 | env: |
| 49 | HOST_GATES_HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }} |
| 50 | run: bash tools/ci/host-gates.sh |
| 51 | - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 |
| 52 | if: always() |
| 53 | with: |
| 54 | name: host-gates-${{ github.sha }} |
| 55 | path: build/host-gates/ |
| 56 | if-no-files-found: warn |