✏️ Just fix directive in .clang-tidy #12
Workflow file for this run
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: Ubuntu - Tests | |
on: [push, pull_request] | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: [ubuntu-latest] | |
strategy: | |
matrix: | |
compiler: [gcc, clang] | |
steps: | |
- name: Checkout repository ${{ github.repository }} on a branch ${{ github.ref_name }} triggered by ${{ github.event_name }} | |
uses: actions/checkout@v4 | |
- run: "echo the ${{ github.repository }} has been cloned in the container !" | |
- name: 🔄 Installing task... | |
uses: arduino/setup-task@v2 | |
with: | |
version: 3.x | |
- uses: actions/setup-python@v5 | |
- name: 🔄 Installing Meson package build system... | |
run: pip install meson | |
- name: 🔄 Installing Dependencies... | |
run: | | |
echo "📦 Installing libcriterion-dev, Ninja" | |
sudo apt-get update && sudo apt-get install -y libcriterion-dev ninja-build | |
echo "✅ Dependencies installed!" | |
- name: Build tests | |
env: | |
CC: ${{ matrix.compiler }} | |
run: | | |
echo "🏗️ Setting up Meson build system..." | |
task build-tests | |
echo "🎉 Build completed with Meson!" | |
- name: Run tests | |
env: | |
CC: ${{ matrix.compiler }} | |
run: | | |
echo "🏗️ Run naive memcpy tests... with $CC" | |
task run-tests-verbose |