-
Notifications
You must be signed in to change notification settings - Fork 1.8k
50 lines (46 loc) · 1.57 KB
/
build-buildboxes.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
45
46
47
48
49
50
name: Build buildbox images
on:
push:
branches:
- master
- branch/**
- camh/**
jobs:
build:
name: Check for relevant changes
runs-on: ubuntu-22.04-32core
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check changes
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
with:
base: ${{ github.ref }}
filters: |
buildbox:
- 'build.assets/versions.mk'
- 'build.assets/images.mk'
- 'build.assets/buildbox/Dockerfile'
- 'build.assets/buildbox/clang-12.sh'
thirdparty:
- 'build.assets/images.mk'
- 'build.assets/buildbox/Dockerfile-thirdparty'
- 'build.assets/buildbox/build-buildbox.mk'
- 'build.assets/buildbox/buildbox-common.mk'
- 'build.assets/buildbox/cross-compile.mk'
- 'build.assets/buildbox/crosstoolng-configs/**'
- 'build.assets/buildbox/crosstoolng.mk'
- 'build.assets/buildbox/pkgconfg/**'
- 'build.assets/buildbox/thirdparty-libs.mk'
- name: Build buildbox-thirdparty
if: ${{ steps.changes.outputs.thirdparty }}
run:
make -C build.assets buildbox-thirdparty PUSH=1
- name: Build buildbox-ng
if: ${{ steps.changes.outputs.thirdparty || steps.changes.outputs.buildbox }}
run:
make -C build.assets buildbox-ng PUSH=1