-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (50 loc) · 1.33 KB
/
default-v3.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
49
50
51
52
53
54
name: CI
on:
workflow_call:
inputs:
federation_repos:
type: string
default: ""
c2a_dir:
type: string
default: .
# skip gcc from build to support C89-like target
skip_gcc:
type: boolean
default: false
build_msvc:
type: boolean
default: false
build_as_cxx:
type: boolean
default: false
reviewdog_version:
type: string
default: v0.16.0
secrets:
GH_FEDERATION_ENDPOINT:
required: false
jobs:
build:
uses: ./.github/workflows/build.yml
secrets: inherit
with:
federation_repos: ${{ inputs.federation_repos }}
c2a_dir: ${{ inputs.c2a_dir }}
skip_gcc: ${{ inputs.skip_gcc }}
build_msvc: ${{ inputs.build_msvc }}
build_as_cxx: ${{ inputs.build_as_cxx }}
reviewdog_version: ${{ inputs.reviewdog_version }}
check_coding_rule:
secrets: inherit
uses: ./.github/workflows/check-coding-rule-v3.yml
with:
federation_repos: ${{ inputs.federation_repos }}
c2a_dir: ${{ inputs.c2a_dir }}
reviewdog_version: ${{ inputs.reviewdog_version }}
check_encoding:
secrets: inherit
uses: ./.github/workflows/check-encoding-v3.yml
with:
federation_repos: ${{ inputs.federation_repos }}
c2a_dir: ${{ inputs.c2a_dir }}