We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed18b11 commit c56a9ceCopy full SHA for c56a9ce
.github/workflows/pr-compile-check.yaml
@@ -82,3 +82,26 @@ jobs:
82
run: |
83
ldd ./bin/fluent-bit
84
working-directory: build
85
+
86
+ # Sanity check for compilation w/ CXX support
87
+ pr-compile-without-cxx:
88
+ runs-on: ubuntu-latest
89
+ timeout-minutes: 60
90
+ strategy:
91
+ fail-fast: false
92
+ steps:
93
+ - name: Setup environment
94
+ run: |
95
+ sudo apt-get update
96
+ sudo apt-get install -y bison cmake flex gcc libssl-dev libyaml-dev
97
98
+ - name: Checkout Fluent Bit code
99
+ uses: actions/checkout@v4
100
101
+ - name: Compile w/ CXX support
102
103
+ export CXX=/bin/false
104
+ export nparallel=$(( $(getconf _NPROCESSORS_ONLN) > 8 ? 8 : $(getconf _NPROCESSORS_ONLN) ))
105
+ cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DFLB_UNICODE_ENCODER=OFF ../
106
+ make -j $nparallel
107
+ working-directory: build
0 commit comments