-
Notifications
You must be signed in to change notification settings - Fork 159
83 lines (83 loc) · 2.09 KB
/
cibldlnx.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: CI-Build-lnx
run-name: CI workflow Linux
on:
workflow_call:
inputs:
arch:
required: true
type: string
tools:
required: true
type: string
owtools:
required: true
type: string
image:
required: true
type: string
owdebug:
required: true
type: string
jobs:
boot-lnx:
name: Bootstrap
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: Bootstrap
uses: "./.github/actions/boot"
with:
hostos: 'lnx'
buildcmd: "ci/buildx.sh ${{ inputs.tools }}"
suffix: "lnx ${{ inputs.arch }} ${{ inputs.tools }}"
owtools: ${{ inputs.owtools }}
owdebug: ${{ inputs.owdebug }}
build-lnx:
name: Build
needs: boot-lnx
runs-on: ${{ inputs.image }}
timeout-minutes: 120
steps:
- name: checkout
uses: actions/checkout@v4
- name: Build
uses: "./.github/actions/build"
with:
hostos: 'lnx'
buildcmd: "ci/buildx.sh ${{ inputs.tools }}"
suffix: "lnx ${{ inputs.arch }} ${{ inputs.tools }}"
owtools: ${{ inputs.owtools }}
owdebug: ${{ inputs.owdebug }}
tests-lnx:
name: Tests
needs: build-lnx
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: Tests
uses: "./.github/actions/tests"
with:
hostos: 'lnx'
suffix: "lnx ${{ inputs.arch }} ${{ inputs.tools }}"
testboot-lnx:
name: Test Bootstrap
needs: tests-lnx
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: Load Artifact
uses: "./.github/actions/artfload"
with:
hostos: 'lnx'
gitpath: 'rel'
artifact: "rel lnx ${{ inputs.arch }} ${{ inputs.tools }}"
owdebug: ${{ inputs.owdebug }}
- name: Test
uses: "./.github/actions/testboot"
with:
hostos: 'lnx'
gitpath: 'rel'
owdebug: ${{ inputs.owdebug }}