Skip to content

config: fix compilation with FLB_HAVE_STATIC_CONF #5116

config: fix compilation with FLB_HAVE_STATIC_CONF

config: fix compilation with FLB_HAVE_STATIC_CONF #5116

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
- name: Attempt to build current source for CentOS 7 using static config
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
build-args:
- FLB_STATIC_CONF=true

Check failure on line 44 in .github/workflows/pr-compile-check.yaml

View workflow run for this annotation

GitHub Actions / Pull requests compile checks

Invalid workflow file

The workflow is not valid. .github/workflows/pr-compile-check.yaml (Line: 44, Col: 11): A sequence was not expected