forked from intel/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 913 Bytes
/
Copy pathsycl_precommit.yml
File metadata and controls
33 lines (30 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: SYCL
on:
pull_request:
branches:
- sycl
jobs:
lint:
runs-on: ubuntu-latest
container:
image: ghcr.io/intel/llvm/sycl_ubuntu2004_nightly:no-drivers
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Run clang-format
uses: ./devops/actions/clang-format
linux_default:
name: Linux
# Only build and test patches, that have passed all linter checks, because
# the next commit is likely to be a follow-up on that job.
needs: lint
if: always() && (success() || contains(github.event.pull_request.labels.*.name, 'ignore-lint'))
uses: ./.github/workflows/sycl_linux_build_and_test.yml
with:
build_runs_on: "build"
build_cache_root: "/__w/"
build_cache_size: "8G"
build_artifact_suffix: "default"
build_cache_suffix: "default"
lts_config: "hip_amdgpu;ocl_x64;ocl_gen9;l0_gen9"