-
Notifications
You must be signed in to change notification settings - Fork 22
48 lines (43 loc) · 971 Bytes
/
checks.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# SPDX-FileCopyrightText: 2024 The Khronos Group Inc.
#
# SPDX-License-Identifier: Apache-2.0
name: Checks
on:
push:
branches:
- main
pull_request:
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Checks
uses: pre-commit/[email protected]
- uses: actions/upload-artifact@v3
if: always()
with:
name: docs
path: build
icpx:
runs-on: ubuntu-latest
env:
CXX: icpx
steps:
- uses: actions/checkout@v4
- uses: rscohn2/setup-oneapi@v0
with:
components: |
- name: Build Examples
run: |
source /opt/intel/oneapi/setvars.sh
cd source/examples
cmake -B build
make -j 2 -C build
ctest --test-dir build --label-exclude gpu