File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -102,3 +102,26 @@ jobs:
102
102
echo "$ldd_result" | grep libsqlite3
103
103
echo "$ldd_result" | grep libzstd
104
104
working-directory : build
105
+
106
+ # Sanity check for compilation w/ CXX support
107
+ pr-compile-without-cxx :
108
+ runs-on : ubuntu-22.04
109
+ timeout-minutes : 60
110
+ strategy :
111
+ fail-fast : false
112
+ steps :
113
+ - name : Setup environment
114
+ run : |
115
+ sudo apt-get update
116
+ sudo apt-get install -y bison cmake flex gcc libssl-dev libyaml-dev
117
+
118
+ - name : Checkout Fluent Bit code
119
+ uses : actions/checkout@v4
120
+
121
+ - name : Compile w/ CXX support
122
+ run : |
123
+ export CXX=/bin/false
124
+ export nparallel=$(( $(getconf _NPROCESSORS_ONLN) > 8 ? 8 : $(getconf _NPROCESSORS_ONLN) ))
125
+ cmake ../
126
+ make -j $nparallel
127
+ working-directory : build
You can’t perform that action at this time.
0 commit comments