File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -120,3 +120,34 @@ jobs:
120120 echo "$ldd_result" | grep libmsgpack
121121 echo "$ldd_result" | grep librdkafka
122122 working-directory : build
123+
124+ # Sanity check for compilation w/ CXX support
125+ pr-compile-without-cxx :
126+ runs-on : ubuntu-24.04
127+ timeout-minutes : 60
128+ strategy :
129+ fail-fast : false
130+ matrix :
131+ cmake_version :
132+ - " 3.31.6"
133+ steps :
134+ - name : Setup environment
135+ run : |
136+ sudo apt-get update
137+ sudo apt-get install -y bison cmake flex gcc libssl-dev libyaml-dev
138+
139+ - name : Install cmake
140+ uses : jwlawson/actions-setup-cmake@v2
141+ with :
142+ cmake-version : " ${{ matrix.cmake_version }}"
143+
144+ - name : Checkout Fluent Bit code
145+ uses : actions/checkout@v5
146+
147+ - name : Compile w/ CXX support
148+ run : |
149+ export CXX=/bin/false
150+ export nparallel=$(( $(getconf _NPROCESSORS_ONLN) > 8 ? 8 : $(getconf _NPROCESSORS_ONLN) ))
151+ cmake ../
152+ make -j $nparallel
153+ working-directory : build
You can’t perform that action at this time.
0 commit comments