Skip to content

Commit

Permalink
wip: build with gcc and clang
Browse files Browse the repository at this point in the history
  • Loading branch information
ursfassler committed Jan 4, 2024
1 parent 8b303ab commit 31ca4cf
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: run all
name: Linux build

on:
pull_request:
Expand All @@ -10,6 +10,11 @@ on:

jobs:
build:
strategy:
matrix:
compiler:
- g++
- clang++
runs-on: ubuntu-22.04

steps:
Expand Down Expand Up @@ -50,14 +55,16 @@ jobs:
run: |
cmake -E make_directory build
cmake -E chdir build cmake \
-DCMAKE_CXX_COMPILER=${{ matrix.compiler }} \
-DCMAKE_C_COMPILER=${{ matrix.compiler }} \
-G Ninja \
-DCUKE_ENABLE_BOOST_TEST=on \
-DCUKE_ENABLE_GTEST=on \
-DCUKE_ENABLE_QT=on \
-DCUKE_ENABLE_EXAMPLES=on \
-DCUKE_TESTS_UNIT=on \
..
cmake --build build --parallel
cmake --build build --parallel --verbose
- name: unit tests
run: |
Expand Down

0 comments on commit 31ca4cf

Please sign in to comment.