-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (36 loc) · 1.01 KB
/
release.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
name: Release
on:
push:
branches:
- add-ci
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
target:
- initrd
- rootfs
- kernel
arch:
- arm64
- amd64
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Update kernel submodules
if: ${{ matrix.target == 'kernel'}}
run: git submodule update --init kernel
- name: Update buildroot submodules
if: ${{ matrix.target != 'kernel'}}
run: git submodule update --init buildroot
- name: Defconfig
run: make ${{ matrix.target }}-${{ matrix.arch }}-defconfig
- name: Build
run: make ${{ matrix.target }}-${{ matrix.arch }}-build
- name: List file
run: make print-outpath-${{ matrix.target }}-${{ matrix.arch }}