blob: e03a96b5f377a832418657f4e906660a9aaf37de (
plain) (
blame)
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
59
60
61
62
|
name: Build-and-Test-Provisioned # actually tests are not executed
on:
workflow_call:
inputs:
runner_label:
required: true
type: string
run_build:
type: boolean
default: true
sanitizer:
required: false
type: string
extra_compile_flags:
required: false
type: string
checkout_ref:
required: false
type: string
ninja_target:
required: false
type: string
workflow_dispatch:
inputs:
runner_label:
required: true
type: string
run_build:
type: boolean
default: true
sanitizer:
required: false
type: string
extra_compile_flags:
required: false
type: string
checkout_ref:
required: false
type: string
ninja_target:
required: false
type: string
jobs:
main:
name: Build and test
runs-on: [ self-hosted, "${{ inputs.runner_label }}" ]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ inputs.checkout_ref }}
- name: Build
uses: ./.github/actions/build
if: inputs.run_build
with:
sanitizer: ${{ inputs.sanitizer }}
ccache_remote_path: ${{ format('http://{0}:{1}@{2}', secrets.REMOTE_CACHE_USERNAME, secrets.REMOTE_CACHE_PASSWORD, vars.REMOTE_CACHE_URL) }}
extra_compile_flags: ${{ inputs.extra_compile_flags }}
ninja_target: ${{ inputs.ninja_target }}
|