build: run make clang-format #79
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
jobs: | |
build_job: | |
runs-on: ubuntu-20.04 | |
name: Build on ${{ matrix.arch }} | |
strategy: | |
matrix: | |
include: | |
- arch: armv7 | |
distro: ubuntu20.04 | |
- arch: aarch64 | |
distro: ubuntu20.04 | |
steps: | |
- uses: actions/checkout@v2.1.0 | |
- uses: uraimo/run-on-arch-action@v2.0.5 | |
name: Build | |
id: build | |
with: | |
arch: ${{ matrix.arch }} | |
distro: ${{ matrix.distro }} | |
githubToken: ${{ github.token }} | |
setup: | | |
git submodule update --init --recursive | |
install: | | |
apt-get update -q -y | |
apt-get install -q -y attr automake autotools-dev git make gcc pkg-config parallel bats bison flex libseccomp-dev | |
run: | | |
./autogen.sh | |
./configure | |
make -j $(nproc) | |
make -j $(nproc) distcheck |