Skip to content

ci: Add ARM runners #110

ci: Add ARM runners

ci: Add ARM runners #110

# SPDX-License-Identifier: BSD-2-Clause

Check failure on line 1 in .github/workflows/libpisp-build-test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/libpisp-build-test.yaml

Invalid workflow file

(Line: 18, Col: 5): Unexpected value 'runs_on', (Line: 20, Col: 5): 'strategy' is already defined, (Line: 14, Col: 5): Required property is missing: runs-on
# 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 ]
runs_on: ${{ matrix.os }}
strategy:
matrix:
compiler: [ g++, clang++ ]
build_type: [ release, debug ]
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