From c5e184b0663ef8b1c593534435090540e2a236cb Mon Sep 17 00:00:00 2001 From: Erik Erlandson Date: Sat, 12 Mar 2022 17:23:40 -0700 Subject: [PATCH] fix ci workflow config (#31) --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 349a68d..983298c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,11 @@ name: build on: - push + pull_request: + branches: ['**'] + push: + branches: ['**'] + tags: [v*] jobs: build: @@ -17,7 +21,7 @@ jobs: sudo apt-get install -y gcc g++ cmake make libboost-all-dev - name: build run: | - cmake -D CMAKE_CXX_STANDARD=${{ matrix.cppstd }} . + cmake -DCMAKE_CXX_STANDARD=${{ matrix.cppstd }} -DBUILD_EXAMPLES=ON . make - name: unit-tests run: |