This was broken by d25022bb689b9bf48a24c0ae6c29c1d3c2f32823, which caused the workflow to pass an empty string to ninja as the target. The 'all' target is probably not the right target for these tests, but this is what the behavior was before d25022bb689b9bf48a24c0ae6c29c1d3c2f32823.
40 lines
917 B
YAML
40 lines
917 B
YAML
name: libclc Tests
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- 'release/**'
|
|
paths:
|
|
- 'libclc/**'
|
|
- '.github/workflows/libclc-tests.yml'
|
|
- '.github/workflows/llvm-project-tests.yml'
|
|
- '!clang/**'
|
|
- '!llvm/**'
|
|
pull_request:
|
|
branches:
|
|
- 'release/**'
|
|
paths:
|
|
- 'libclc/**'
|
|
- '.github/workflows/libclc-tests.yml'
|
|
- '.github/workflows/llvm-project-tests.yml'
|
|
- '!clang/**'
|
|
- '!llvm/**'
|
|
|
|
concurrency:
|
|
# Skip intermediate builds: always.
|
|
# Cancel intermediate builds: only if it is a pull request build.
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
|
|
|
|
jobs:
|
|
check_libclc:
|
|
if: github.repository_owner == 'llvm'
|
|
name: Test libclc
|
|
uses: ./.github/workflows/llvm-project-tests.yml
|
|
with:
|
|
projects: clang;libclc
|