Skip to content

Build and test on aarch64 (clang 14.0) #10

Build and test on aarch64 (clang 14.0)

Build and test on aarch64 (clang 14.0) #10

name: Build and test on aarch64
on:
workflow_call:
inputs:
debug:
required: false
type: boolean
board:
required: false
type: string
workflow_dispatch:
inputs:
debug:
required: true
type: boolean
description: Debug build
default: true
board:
required: true
type: choice
description: Board type
options:
- FULLSPEC
- STANDARD
default: FULLSPEC
branch:
required: true
type: string
jobs:
build:
runs-on: [self-hosted]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- name: Compile
run: |
debug=${{ inputs.debug && 'DEBUG=1' || '' }} &&
make -j $(nproc) BOARD=${{ inputs.board }} $debug CXX=clang++
- name: Run unit tests
run: |
debug=${{ inputs.debug && 'DEBUG=1' || '' }} &&
make -C cpp test -j $(nproc) BOARD=${{ inputs.board }} $debug CXX=clang++