-
Notifications
You must be signed in to change notification settings - Fork 62
50 lines (48 loc) · 1.18 KB
/
ci-cross.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
---
name: "Build - ARM"
on:
push:
branches:
- master
- 'cog-*'
pull_request:
branches:
- master
- 'cog-*'
jobs:
build:
strategy:
matrix:
buildtype: [release, debug]
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
id: cache
with:
path: ~/toolchain
key: arm-${{ runner.os }}-${{ hashFiles('.github/toolchain.sh') }}
restore-keys: tc-${{ runner.os }}-
- name: Install Toolchain
run: |-
.github/toolchain.sh ~/toolchain
- name: Configure
env:
BUILD_TYPE: ${{ matrix.buildtype }}
run: |-
. ~/toolchain/environment-setup-*-poky-linux-gnueabi
meson build --buildtype "${BUILD_TYPE}" \
-Dplatforms=drm,headless,wayland \
-Dprograms=true \
-Ddocumentation=false \
-Dmanpages=false \
-Dlibportal=disabled \
-Dwpe_api=1.1
- name: Build
env:
TERM: dumb
run:
. ~/toolchain/environment-setup-*-poky-linux-gnueabi
ninja -C build