Skip to content

Commit

Permalink
Create a GitHub Actions workflow to build the thing.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbprice committed Oct 27, 2023
1 parent 3b251fd commit a4be9ef
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: C++ CI

on: [push, pull_request, workflow_dispatch]

jobs:
build:

strategy:
matrix:
configuration: [Debug, Release]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodules: true

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y clang-17

- name: Configure CMake
run: cmake -P ${ matrix.configuration }_Clang -S ${{github.workspace}}

- name: Build
run: cmake --build

#- name: Test
# run: ctest --output-on-failure

0 comments on commit a4be9ef

Please sign in to comment.