forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (53 loc) · 1.37 KB
/
_check_build.yml
File metadata and controls
58 lines (53 loc) · 1.37 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
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Check/build
permissions:
contents: read
on:
workflow_call:
inputs:
request:
type: string
required: true
trusted:
type: boolean
required: true
concurrency:
group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }}-build
cancel-in-progress: true
jobs:
build:
permissions:
actions: read
contents: read
packages: read
uses: ./.github/workflows/_run.yml
name: ${{ matrix.name ||matrix.target }}
with:
bazel-cache: true
bazel-extra: '--config=rbe'
cache-build-image: ${{ fromJSON(inputs.request).request.build-image.default }}
concurrency-suffix: -${{ matrix.target }}
docker-ci: ${{ matrix.docker-ci || false }}
error-match: |
ERROR
error:
Error:
rbe: true
request: ${{ inputs.request }}
skip: ${{ matrix.skip != false && true || false }}
target: ${{ matrix.target }}
timeout-minutes: 180
trusted: ${{ inputs.trusted }}
strategy:
fail-fast: false
matrix:
include:
- target: api
name: API
- target: compile_time_options
name: Compile time options
docker-ci: true
- target: gcc
name: GCC
- target: openssl
name: OpenSSL
skip: ${{ ! fromJSON(inputs.request).run.check-build-openssl }}