Skip to content

Update c-cpp.yml

Update c-cpp.yml #3

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up dependencies
run: |
sudo apt-get update
sudo apt-get install -y meson ninja-build gcc g++ gettext libgtk-4-dev libadwaita-1-dev
- name: Configure the project with Meson
run: meson setup build
- name: Build the project
run: meson compile -C build
- name: Run unit tests
run: meson test -C build
- name: Perform distribution checks
run: meson dist -C build