File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -118,4 +118,26 @@ jobs:
118118 export ldd_result=$(ldd ./bin/fluent-bit)
119119 echo "ldd result:"
120120 echo "$ldd_result" | grep libmsgpack
121+
122+ # Sanity check for compilation w/ CXX support
123+ pr-compile-without-cxx :
124+ runs-on : ubuntu-22.04
125+ timeout-minutes : 60
126+ strategy :
127+ fail-fast : false
128+ steps :
129+ - name : Setup environment
130+ run : |
131+ sudo apt-get update
132+ sudo apt-get install -y bison cmake flex gcc libssl-dev libyaml-dev
133+
134+ - name : Checkout Fluent Bit code
135+ uses : actions/checkout@v4
136+
137+ - name : Compile w/ CXX support
138+ run : |
139+ export CXX=/bin/false
140+ export nparallel=$(( $(getconf _NPROCESSORS_ONLN) > 8 ? 8 : $(getconf _NPROCESSORS_ONLN) ))
141+ cmake ../
142+ make -j $nparallel
121143 working-directory : build
You can’t perform that action at this time.
0 commit comments