
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/
31 lines
580 B
YAML
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 }}
|