We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9af8376 commit 7315799Copy full SHA for 7315799
.github/workflows/ci_lin.yml
@@ -0,0 +1,30 @@
1
+name: Linux Github Action CI
2
+
3
+permissions:
4
+ contents: read
5
6
+on:
7
+ pull_request:
8
+ branches:
9
+ - SYCLomatic
10
+ types: [opened, synchronize, reopened, ready_for_review]
11
12
+env:
13
+ BUILD_CONCURRENCY: 2
14
+ MACOS_BUILD_CONCURRENCY: 3
15
+ TEST_TIMEOUT: 3600
16
17
+jobs:
18
+ clang-format:
19
+ runs-on: build
20
+ steps:
21
+ - name: 'PR commits + 1'
22
+ run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
23
+ - uses: actions/checkout@v4
24
+ with:
25
+ ref: ${{ github.event.pull_request.head.sha }}
26
+ persist-credentials: false
27
+ fetch-depth: ${{ env.PR_FETCH_DEPTH }}
28
+ - name: Run clang-format
29
+ uses: ./devops/actions/clang-format-SYCLomatic
30
0 commit comments