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 82
82
run : |
83
83
ldd ./bin/fluent-bit
84
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
+ run : |
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
You can’t perform that action at this time.
0 commit comments