-
-
Notifications
You must be signed in to change notification settings - Fork 23
60 lines (47 loc) · 1.26 KB
/
build.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
name: guppy build
on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
jobs:
build:
strategy:
matrix:
arch: [mips-linux-gnu-, aarch64-none-linux-gnu-]
zbolt: [0, 1]
runs-on: ubuntu-22.04
container: ballaswag/guppydev:latest
env:
CROSS_COMPILE: ${{ matrix.arch }}
ZBOLT: ${{ matrix.zbolt }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: set guppyscreen version
run: |
chmod +x ./version.sh
./version.sh >> $GITHUB_ENV
- name: patch lv_drivers
run: |
git apply ../patches/0001-lv_driver_fb_ioctls.patch
working-directory: ./lv_drivers
- name: patch fmt in spdlog
run: |
git apply ../patches/0002-spdlog_fmt_initializer_list.patch
working-directory: ./spdlog
- name: make wpaclient
run: make wpaclient
- name: make libhv
run: make libhv.a
- name: make guppyscreen
run: make -j
- name: package release
run: |
chmod +x ./release.sh
./release.sh >> $GITHUB_ENV
- uses: actions/upload-artifact@v4
with:
name: guppyscreen-${{ env.GUPPY_ARCHIVE_NAME }}
path: ./guppyscreen-${{ env.GUPPY_ARCHIVE_NAME }}