Skip to content

Commit

Permalink
Merge pull request #44 from c-dilks/ci
Browse files Browse the repository at this point in the history
feat: add CI build tests on Linux and MacOS
  • Loading branch information
gavalian authored Jan 15, 2024
2 parents fe6cf91 + e0b5438 commit 9da320c
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: HIPO CI

on:
pull_request:
push:
branches: [ master ]
tags: [ '*' ]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

defaults:
run:
shell: bash

jobs:

build:
strategy:
fail-fast: false
matrix:
runner: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- name: build
run: |
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=install
cmake --build build -j2
cmake --install build
- run: brew install tree
if: ${{ matrix.runner == 'macos-latest' }}
- run: tree install

0 comments on commit 9da320c

Please sign in to comment.