Skip to content

Commit

Permalink
ci: add ci pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelvinyu1117 committed May 31, 2024
1 parent 2c7e243 commit f40d1c1
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on: [push, pull_request, workflow_dispatch]

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'

0 comments on commit f40d1c1

Please sign in to comment.