Skip to content

Commit

Permalink
✅ Setup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
heavywatal committed Oct 24, 2024
1 parent c1289f6 commit 1bfe198
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

jobs:
install:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: cmake
run: cmake -S . -B build -DCMAKE_INSTALL_PREFIX=${HOME}/local
- run: cmake --build build -j 2
- run: cmake --install build
- run: ctest --test-dir build -V -j 2

0 comments on commit 1bfe198

Please sign in to comment.