Skip to content

Commit

Permalink
actions: add meson workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Rosen Penev <[email protected]>
  • Loading branch information
neheb committed May 24, 2022
1 parent aeae6b1 commit a349851
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/frozen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,27 @@ jobs:
if: startsWith(matrix.os, 'windows') == false
working-directory: build
run: cmake --build . --target test
build_meson:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- name : Fetch meson
run : sudo apt -y install meson

- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 1

- name: Prepare
run: meson build

- name: Build
working-directory: build
run: ninja
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ install_headers(
'include/frozen/bits/elsa.h',
'include/frozen/bits/exceptions.h',
'include/frozen/bits/pmh.h',
'include/frozen/bits/type_traits.h',
'include/frozen/bits/version.h',
subdir : 'frozen/bits',
)
Expand Down

0 comments on commit a349851

Please sign in to comment.