-
Notifications
You must be signed in to change notification settings - Fork 20
40 lines (30 loc) · 980 Bytes
/
libpisp-build-test.yaml
File metadata and controls
40 lines (30 loc) · 980 Bytes
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
# SPDX-License-Identifier: BSD-2-Clause
# Copyright (C) 2023, Raspberry Pi Ltd
name: libpisp build test
on:
workflow_dispatch:
pull_request:
branches: [ main ]
jobs:
build-test:
strategy:
matrix:
os: [ ubuntu-latest, ubuntu-24.04-arm ]
compiler: [ g++, clang++ ]
build_type: [ release, debug ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
clean: true
- name: Install meson and ninja
run: pip3 install --user meson ninja
- name: Install boost dependencies
run: sudo apt install -y libboost-log-dev libboost-thread-dev
- name: Configure meson
run: CXX=${{matrix.compiler}} meson setup build_${{matrix.compiler}}_${{matrix.build_type}} -Dbuildtype=${{matrix.build_type}} -Dexamples=true
timeout-minutes: 5
- name: Build
run: ninja -C build_${{matrix.compiler}}_${{matrix.build_type}}
timeout-minutes: 10