diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:18 +0000 |
commit | 5da14042f70711ea5cf66e034699730335462f66 (patch) | |
tree | 0f6354ccac934ed87a2d555f45be4c831cf92f4a /src/fluent-bit/.github/workflows/pr-compile-check.yaml | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-5da14042f70711ea5cf66e034699730335462f66.tar.xz netdata-5da14042f70711ea5cf66e034699730335462f66.zip |
Merging upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fluent-bit/.github/workflows/pr-compile-check.yaml')
-rw-r--r-- | src/fluent-bit/.github/workflows/pr-compile-check.yaml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/fluent-bit/.github/workflows/pr-compile-check.yaml b/src/fluent-bit/.github/workflows/pr-compile-check.yaml new file mode 100644 index 000000000..d9f3dc92a --- /dev/null +++ b/src/fluent-bit/.github/workflows/pr-compile-check.yaml @@ -0,0 +1,32 @@ +name: 'Pull requests compile checks' +on: + pull_request: + # Only trigger if there is a code change or a CMake change that (could) affect code + paths: + - '**.c' + - '**.h' + - 'CMakeLists.txt' + - 'cmake/*' + workflow_dispatch: + +jobs: + # Sanity check for compilation using older compiler on CentOS 7 + pr-compile-centos-7: + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: Checkout Fluent Bit code + uses: actions/checkout@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Attempt to build current source for CentOS 7 + uses: docker/build-push-action@v5 + with: + context: . + file: ./dockerfiles/Dockerfile.centos7 + # No need to use after this so discard completely + push: false + load: false + provenance: false |