-
Notifications
You must be signed in to change notification settings - Fork 0
102 lines (94 loc) · 2.82 KB
/
common-flow.yml
File metadata and controls
102 lines (94 loc) · 2.82 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
name: Common CI Workflow
on:
workflow_call:
inputs:
deploy:
type: boolean
default: false
fast-fail:
type: boolean
default: true
jobs:
ubuntu-build:
strategy:
fail-fast: ${{ inputs.fast-fail }}
matrix:
os: ["ubuntu:18.04", "ubuntu:20.04", "ubuntu:22.04", "debian:bullseye"]
secrets: inherit
uses: ./.github/workflows/common-container.yml
with:
container: ${{ matrix.os }}
deploy: ${{ inputs.deploy }}
dependencies_command: 'apt update && apt install make gcc build-essential python3 python3-pip curl zip -y'
ubuntu-build-arm:
strategy:
fail-fast: ${{ inputs.fast-fail }}
matrix:
os: ["ubuntu:18.04", "ubuntu:20.04", "ubuntu:22.04", "debian:bullseye"]
secrets: inherit
uses: ./.github/workflows/self-hosted-arm.yml
with:
container: ${{ matrix.os }}
deploy: ${{ inputs.deploy }}
dependencies_command: 'apt update && apt install make gcc build-essential python3 python3-pip curl zip -y'
yum-flavors:
strategy:
fail-fast: ${{ inputs.fast-fail }}
matrix:
include:
- os: "centos:centos7"
osnick: "centos7"
- os: "amazonlinux:2"
osnick: "amazonlinux"
- os: "rockylinux:8"
osnick: "rockylinux8"
- os: "rockylinux:9"
osnick: "rockylinux9"
secrets: inherit
uses: ./.github/workflows/common-container.yml
with:
container: ${{ matrix.os }}
os-nickname: ${{ matrix.osnick }}
deploy: ${{ inputs.deploy }}
dependencies_command: 'yum install make gcc tar gzip python3 python3-devel zip -y'
yum-flavors-arm:
strategy:
fail-fast: ${{ inputs.fast-fail }}
matrix:
include:
- os: "centos:centos7"
osnick: "centos7"
- os: "amazonlinux:2"
osnick: "amazonlinux"
- os: "rockylinux:8"
osnick: "rockylinux8"
secrets: inherit
uses: ./.github/workflows/self-hosted-arm.yml
with:
container: ${{ matrix.os }}
os-nickname: ${{ matrix.osnick }}
deploy: ${{ inputs.deploy }}
dependencies_command: 'yum install make gcc tar gzip curl python3 python3-devel zip -y'
mac-build:
strategy:
fail-fast: ${{ inputs.fast-fail }}
matrix:
runners: [macos-12]
secrets: inherit
uses: ./.github/workflows/common-runner.yml
with:
runner: ${{ matrix.runners }}
# python-setup: '3.10'
deploy: ${{ inputs.deploy }}
apple-silicon-build:
strategy:
fail-fast: ${{ inputs.fast-fail }}
matrix:
runners: [monterey]
secrets: inherit
uses: ./.github/workflows/common-runner.yml
with:
runner: ${{ matrix.runners }}
# python-setup: '3.10'
deploy: ${{ inputs.deploy }}
sudo: 'sudo'