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 e1a194d commit a6c9ca9Copy full SHA for a6c9ca9
.github/workflows/pr-compile-check.yaml
@@ -102,3 +102,26 @@ jobs:
102
echo "$ldd_result" | grep libsqlite3
103
echo "$ldd_result" | grep libzstd
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
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
0 commit comments