Skip to content

Merge pull request #2 from Unam3dd/1-feat-implement-tests-and-cicd-en… #11

Merge pull request #2 from Unam3dd/1-feat-implement-tests-and-cicd-en…

Merge pull request #2 from Unam3dd/1-feat-implement-tests-and-cicd-en… #11

Workflow file for this run

name: Ubuntu - Types Tests
on: push
permissions:
contents: write
jobs:
build:
runs-on: [ubuntu-latest]
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: |
sudo apt-get update
echo "📦 Installing libcriterion-dev, Ninja, GCC New Version"
sudo apt-get install -y libcriterion-dev ninja-build gcc-12
sudo ln -s -f /usr/bin/gcc-12 /usr/bin/gcc
echo "✅ Dependencies installed!"
- name: Build tests
run: |
echo "🏗️ Setting up Meson build system..."
task build-tests
echo "🎉 Build completed with Meson!"
- name: Run Types tests
run: |
echo "🏗️ Setting up Meson build system..."
task run-test-suite -- $(task list-tests | grep "test_types")