llvm-project/.github/workflows/hlsl-matrix.yaml
Chris B 218f15cd1e
Add pre-merge workflow for HLSL testing (#122184)
This adds a workflow for running HLSL tests on PRs that modify HLSL and
DirectX code.

The tests enabled here are the LLVM & Clang tests and the Offload
execution tests: https://github.com/llvm-beanz/offload-test-suite/
2025-01-09 14:10:44 -06:00

31 lines
580 B
YAML

name: HLSL Tests
permissions:
contents: read
on:
workflow_dispatch:
pull_request:
branches:
- main
paths:
- llvm/**/DirectX/**
- .github/workflows/hlsl*
- clang/*HLSL*/**/*
- clang/**/*HLSL*
- llvm/**/Frontend/HLSL/**/*
jobs:
HLSL-Tests:
strategy:
fail-fast: false
matrix:
runs-on:
- hlsl-macos
uses: ./.github/workflows/hlsl-test-all.yaml
with:
SKU: hlsl-macos
TestTarget: check-hlsl-clang-mtl # TODO: This target changes based on SKU
LLVM-ref: ${{ github.ref }}