From e0bd4f47759ed01144f6860f0f3c367a51f8c399 Mon Sep 17 00:00:00 2001 From: Kyle Shores Date: Thu, 12 Oct 2023 15:04:58 -0500 Subject: [PATCH] trying to prevent duplicates from running --- .github/workflows/mac.yml | 2 ++ .github/workflows/ubuntu.yml | 2 ++ .github/workflows/windows.yml | 7 +++++++ 3 files changed, 11 insertions(+) diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 7de72641f..4f1e563fd 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -8,6 +8,7 @@ concurrency: jobs: xcode_macos_12: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: macos-12 strategy: matrix: @@ -32,6 +33,7 @@ jobs: ctest -C ${{ matrix.build_type }} --rerun-failed --output-on-failure . --verbose -j 10 xcode_macos_13: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: macos-13 strategy: matrix: diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 59c3a4e5a..3cd9aad7c 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -8,6 +8,7 @@ concurrency: jobs: gcc: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: ubuntu-latest strategy: matrix: @@ -31,6 +32,7 @@ jobs: ctest -C ${{ matrix.build_type }} --rerun-failed --output-on-failure . --verbose -j 10 clang: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: ubuntu-latest strategy: matrix: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6b13ed267..9a66ea54c 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -8,6 +8,7 @@ concurrency: jobs: mingw: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: windows-2019 strategy: matrix: @@ -33,6 +34,7 @@ jobs: ctest -C Debug --rerun-failed --output-on-failure . --verbose msvc2019: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: windows-2019 strategy: matrix: @@ -57,6 +59,7 @@ jobs: run: cd build ; ctest -j 10 -C ${{ matrix.build_type }} --output-on-failure msvc2019_latest: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: windows-2019 steps: @@ -69,6 +72,7 @@ jobs: run: cd build ; ctest -j 10 -C Release --output-on-failure msvc2022: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: windows-2022 strategy: matrix: @@ -89,6 +93,7 @@ jobs: run: cd build ; ctest -j 10 -C ${{ matrix.build_type }} --output-on-failure msvc2022_latest: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: windows-2022 steps: @@ -101,6 +106,7 @@ jobs: run: cd build ; ctest -j 10 -C Release --output-on-failure clang: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: windows-2019 strategy: matrix: @@ -118,6 +124,7 @@ jobs: run: cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure clang-cl-11: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: windows-2019 strategy: matrix: