Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Run Clang Format

Run Clang Format #164

Workflow file for this run

name: Linux Build
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
# Automatically cancel any previous workflow on new push.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
build-and-test:
name: Build and Test on Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y ninja-build python3-pip
sudo pip3 install meson
- name: Configure
run: |
meson setup build -Dwarning_level=2 -Db_sanitize=address,undefined -Db_lundef=false
- name: Build
run: |
ninja -C build
- name: Test
run: |
ninja -C build test
- name: Upload test logs if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-logs-linux
path: build/meson-logs/testlog.txt