ci: add ci pipeline #1
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: CI Pipeline | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
types: [opened, synchronize] | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
chmod +x ./build_support/package.sh | |
./build_support/package.sh | |
- name: Configure CMake | |
run: cmake -B build -DCMAKE_BUILD_TYPE=Release | |
- name: Check Format | |
run: cmake --build build --target check-format | |
- name: Build | |
run: cmake --build build | |
- name: Test | |
run: cmake --build build -t test-lib |