blob: abfa07ff2aaf1f627498a11fcd096e4486d06ded (
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
|
name: Build-and-Test Provisioned VM
on:
workflow_call:
inputs:
runner_label:
required: true
type: string
sanitizer:
required: false
type: string
test_label_regexp:
required: false
type: string
jobs:
main:
name: Build and test
runs-on: [ self-hosted, Provisioned, "${{ inputs.runner_label }}" ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
uses: ./.github/actions/build
with:
sanitizer: ${{ inputs.sanitizer }}
- name: Test
uses: ./.github/actions/test
with:
log_suffix: ${{format('{0}-{1}', inputs.runner_label, inputs.sanitizer)}}
test_label_regexp: ${{ inputs.test_label_regexp }}
aws_key_id: ${{secrets.AWS_KEY_ID}}
aws_key_value: ${{secrets.AWS_KEY_VALUE}}
|