-
Notifications
You must be signed in to change notification settings - Fork 33
43 lines (41 loc) · 974 Bytes
/
build-and-target-test.yml
File metadata and controls
43 lines (41 loc) · 974 Bytes
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
name: Build and Test
on:
workflow_dispatch:
inputs:
build_all:
description: Build all configurations
type: boolean
required: false
default: false
schedule:
- cron: "0 0 * * *"
push:
branches:
- main
paths-ignore:
- "docs/**"
jobs:
build:
uses: ./.github/workflows/build.yml
secrets: inherit
with:
build_all: ${{ inputs.build_all || false }}
test:
permissions:
actions: read
contents: write
packages: read
uses: ./.github/workflows/target-test.yml
needs: build
secrets: inherit
with:
artifact_fw_version: ${{ needs.build.outputs.version }}
artifact_run_id: ${{ needs.build.outputs.run_id }}
test_all: ${{ inputs.build-all || false }}
debug:
runs-on: ubuntu-latest
steps:
- name: debug
run: |
echo buildall: ${{ inputs.build_all }}
echo buildall: ${{ inputs.build_all || false }}