From 7d4c207fc0971533446049b839fa6079cf00f49b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20Ikl=C3=A9?= Date: Sun, 7 Jan 2024 14:57:32 +0100 Subject: [PATCH] ignore faulty compiler warning --- .github/workflows/build-freebsd.yml | 4 ++-- .github/workflows/build-linux.yml | 6 +++--- .github/workflows/build-macos.yml | 4 ++-- .github/workflows/build-win.yml | 5 +++-- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-freebsd.yml b/.github/workflows/build-freebsd.yml index 4516869..5d6af32 100644 --- a/.github/workflows/build-freebsd.yml +++ b/.github/workflows/build-freebsd.yml @@ -1,9 +1,9 @@ name: Build on FreeBSD on: push: - branches: [ "master" ] + branches: [ "**" ] pull_request: - branches: [ "master" ] + branches: [ "**" ] jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index ebe3855..8bc888f 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -1,9 +1,9 @@ name: Build on Linux on: push: - branches: [ "master" ] + branches: [ "**" ] pull_request: - branches: [ "master" ] + branches: [ "**" ] jobs: build: runs-on: ${{ matrix.os }} @@ -39,4 +39,4 @@ jobs: run: ctest --build-config ${{ matrix.build_type }} - name: Coverage working-directory: ${{ steps.strings.outputs.build-output-dir }} - run: bash <(curl -s https://codecov.io/bash) -X gcov \ No newline at end of file + run: bash <(curl -s https://codecov.io/bash) \ No newline at end of file diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index e487911..fa6c74e 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -1,9 +1,9 @@ name: Build on macOS on: push: - branches: [ "master" ] + branches: [ "**" ] pull_request: - branches: [ "master" ] + branches: [ "**" ] jobs: build: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml index 1e56214..28f144f 100644 --- a/.github/workflows/build-win.yml +++ b/.github/workflows/build-win.yml @@ -1,9 +1,9 @@ name: Build on Windows on: push: - branches: [ "master" ] + branches: [ "**" ] pull_request: - branches: [ "master" ] + branches: [ "**" ] jobs: build: runs-on: ${{ matrix.os }} @@ -26,6 +26,7 @@ jobs: -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} + -DCMAKE_C_FLAGS=/wd5105 -DENABLE_TESTS=1 -DENABLE_DEMO=1 -S ${{ github.workspace }}