Skip to content

ci: add ci pipelines #14

ci: add ci pipelines

ci: add ci pipelines #14

Workflow file for this run

name: CI
on:
merge_group:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- main
jobs:
ci-ubuntu:
name: Build on Linux (Ubuntu)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: lukka/get-cmake@latest
- name: install dependencies
run: ./vcpkg.sh
- name: build
run: make build
- name: build
run: make test
ci-mac:
name: Build on MacOS
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- uses: lukka/get-cmake@latest
- name: install dependencies
run: ./vcpkg.sh
- name: build
run: make build
- name: build
run: make test
fmt:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Run clang-format"
uses: jidicula/[email protected]
with:
clang-format-version: '18'