Skip to content

Bump SonarSource/sonarcloud-github-c-cpp from 2 to 3 (#4) #26

Bump SonarSource/sonarcloud-github-c-cpp from 2 to 3 (#4)

Bump SonarSource/sonarcloud-github-c-cpp from 2 to 3 (#4) #26

Workflow file for this run

name: ci
on:
push:
branches: [main]
paths-ignore: ['**.md']
pull_request:
branches: [main]
paths-ignore: ['**.md']
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Install Dependencies
run: |
sudo apt install libboost-all-dev
- name: Build
run: |
cmake -S . -B build
cmake --build build
ls -Gghl build/server build/client
- name: Test
run: |
./build/server/server &
sleep 1s
./build/client/client
kill -TERM $(pidof server)