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 6ba7cda
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: build

jobs:
build:
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 6ba7cda

Please sign in to comment.