From 41851aada82275574c22ef4144d2dadbf05cf640 Mon Sep 17 00:00:00 2001 From: Elias Kosunen Date: Thu, 7 Nov 2024 22:49:04 +0200 Subject: [PATCH] Limit scope of some CI jobs to not trigger on every change in tests/** --- .clusterfuzzlite/Dockerfile | 4 ++-- .github/workflows/arch.yml | 4 ++-- .github/workflows/lite.yml | 4 ++-- .github/workflows/macos.yml | 4 ++-- .github/workflows/windows.yml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.clusterfuzzlite/Dockerfile b/.clusterfuzzlite/Dockerfile index dd6d90ef..afd8a557 100644 --- a/.clusterfuzzlite/Dockerfile +++ b/.clusterfuzzlite/Dockerfile @@ -9,12 +9,12 @@ RUN apt update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -RUN git clone --depth 1 --branch 20240722.0 https://github.com/abseil/abseil-cpp $SRC/abseil && \ +RUN git clone --depth 1 --branch 20240722.0 https://github.com/abseil/abseil-cpp $SRC/abseil-cpp && \ cd $SRC/abseil-cpp && \ mkdir build && cd build && \ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_POSITION_INDEPENDENT_CODE=ON .. && \ cmake --build . --target install && \ - cd ../.. && rm -rf $SRC/abseil \ + cd ../.. && rm -rf $SRC/abseil-cpp \ RUN git clone --depth 1 --branch 2024-07-02 https://github.com/google/re2 $SRC/re2 && \ cd $SRC/re2 && \ diff --git a/.github/workflows/arch.yml b/.github/workflows/arch.yml index bf6f894f..e12accb8 100644 --- a/.github/workflows/arch.yml +++ b/.github/workflows/arch.yml @@ -11,7 +11,7 @@ on: - 'cmake/**' - 'include/**' - 'src/**' - - 'tests/**' + - 'tests/unittests/**' - '**/CMakeLists.txt' pull_request: branches: @@ -23,7 +23,7 @@ on: - 'cmake/**' - 'include/**' - 'src/**' - - 'tests/**' + - 'tests/unittests/**' - '**/CMakeLists.txt' workflow_dispatch: diff --git a/.github/workflows/lite.yml b/.github/workflows/lite.yml index 9a9ac207..622cbd1d 100644 --- a/.github/workflows/lite.yml +++ b/.github/workflows/lite.yml @@ -13,7 +13,7 @@ on: - 'examples/**' - 'include/**' - 'src/**' - - 'tests/**' + - 'tests/unittests/**' - '**/CMakeLists.txt' pull_request: branches-ignore: @@ -27,7 +27,7 @@ on: - 'examples/**' - 'include/**' - 'src/**' - - 'tests/**' + - 'tests/unittests/**' - '**/CMakeLists.txt' workflow_dispatch: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b8405be3..f9f7e318 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -13,7 +13,7 @@ on: - 'examples/**' - 'include/**' - 'src/**' - - 'tests/**' + - 'tests/unittests/**' - '**/CMakeLists.txt' pull_request: branches: @@ -27,7 +27,7 @@ on: - 'examples/**' - 'include/**' - 'src/**' - - 'tests/**' + - 'tests/unittests/**' - '**/CMakeLists.txt' workflow_dispatch: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 61b7c00a..2c435a09 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -13,7 +13,7 @@ on: - 'examples/**' - 'include/**' - 'src/**' - - 'tests/**' + - 'tests/unittests/**' - '**/CMakeLists.txt' pull_request: branches: @@ -27,7 +27,7 @@ on: - 'examples/**' - 'include/**' - 'src/**' - - 'tests/**' + - 'tests/unittests/**' - '**/CMakeLists.txt' workflow_dispatch: