-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (44 loc) · 1.14 KB
/
action.yaml
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
name: action
on:
push:
branches: [main]
schedule:
- cron: '0 0 * * *'
pull_request:
jobs:
shellcheck:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: run shellcheck
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -s bash
build_busybox:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: install deps
run: |
sudo apt -y update
sudo apt -y install qemu-utils
- name: make prepare busybox/initrd root.img
run: |
make prepare busybox/initrd busybox/root.img
build_linux:
runs-on: ubuntu-20.04
strategy:
matrix:
linux_version:
- "5_15_0_43_46"
- "5_4_0_65_73"
- "5_14_0_162_6_1_el9_1"
- "4_18_0_348_7_1_el8_5"
- "3_10_0_1160_31_1_el7"
- "2_6_32_754_35_1_el6"
- "2_6_39"
steps:
- uses: actions/checkout@v2
- name: make LINUX_VERSION=${{ matrix.linux_version }} prepare bzImage modules
run: |
make LINUX_VERSION=${{ matrix.linux_version }} prepare bzImage modules