forked from intel/opencl-clang
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathon-push-verification-in-tree.yml
More file actions
45 lines (38 loc) · 1.07 KB
/
on-push-verification-in-tree.yml
File metadata and controls
45 lines (38 loc) · 1.07 KB
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
# ===---
# Running on push & pull_request.
# This workflow parses the destination branch
# to choose correct dependencies revisions
# ===---
name: In-tree build
run-name: '${{ github.event_name }}: ${{ github.base_ref }} ${{ github.ref_name }}' # github.base_ref null for 'on: push'
permissions:
contents: read
on:
push:
branches:
- main
- ocl-open-220
pull_request:
branches:
- main
- ocl-open-220
types:
- opened
- reopened
- synchronize # commit pushed to the PR
- ready_for_review # moved from draft state
jobs:
verify_default_branch:
name: Linux
# ref_name for 'on: push'
# base_ref for 'on: pull_request'
runs-on: ubuntu-22.04
steps:
- name: Checkout opencl-clang sources for action files
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Run build-opencl-clang action
uses: ./.github/actions/build-opencl-clang
with:
ref_llvm: main
ref_translator: main
ref_opencl-clang: ${{ github.ref }}