Skip to content

Commit

Permalink
ci: add base
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-go committed Sep 5, 2023
1 parent a2e3f34 commit 610d3b1
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions examples/.github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build and Test

on: [push]

jobs:
build:

strategy:
matrix:
os: [ubuntu-latest, macOS-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake g++
if: runner.os == 'Linux'

- name: Install dependencies (macOS)
run: |
brew install cmake
if: runner.os == 'macOS'

- name: Build
run: make

- name: Run Tests
run: make test

0 comments on commit 610d3b1

Please sign in to comment.