-
Notifications
You must be signed in to change notification settings - Fork 166
64 lines (64 loc) · 1.6 KB
/
rel-lnx.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
name: Release-Build-lnx
run-name: Release workflow Linux (daily and monthly)
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:
needs: boot-lnx
name: Build
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
if: inputs.arch == 'x64'
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 }}"