[llvm] [CI][libsycl] Add libsycl precommit testing job (PR #184174)
Alexey Bader via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 2 14:50:43 PST 2026
================
@@ -0,0 +1,48 @@
+name: SYCL Tests
+
+permissions:
+ contents: read
+
+on:
+ pull_request:
+ paths:
+ - 'libsycl/**'
+ - '.github/workflows/sycl-tests.yml'
+
+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_sycl:
+ if: github.repository_owner == 'llvm'
+ name: Test SYCL
+ runs-on: ubuntu-24.04
+ container:
+ image: ghcr.io/llvm/ci-ubuntu-24.04:latest
+ steps:
+ - uses: actions/checkout at 8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ - name: Setup ccache
+ uses: hendrikmuhs/ccache-action at 5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2.20
+ with:
+ max-size: 2G
+ key: sycl-ubuntu-24.04
+ variant: sccache
+ - name: Build and Test
+ run: |
+ mkdir build
----------------
bader wrote:
I think next cmake command will create `build` directory, if it doesn't exist yet.
```suggestion
```
https://github.com/llvm/llvm-project/pull/184174
More information about the llvm-commits
mailing list