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 6593603 commit f9fabe2Copy full SHA for f9fabe2
.github/workflows/pr-compile-check.yaml
@@ -89,3 +89,26 @@ jobs:
89
run: |
90
ldd ./bin/fluent-bit
91
working-directory: build
92
+
93
+ # Sanity check for compilation w/ CXX support
94
+ pr-compile-without-cxx:
95
+ runs-on: ubuntu-latest
96
+ timeout-minutes: 60
97
+ strategy:
98
+ fail-fast: false
99
+ steps:
100
+ - name: Setup environment
101
+ run: |
102
+ sudo apt-get update
103
+ sudo apt-get install -y bison cmake flex gcc libssl-dev libyaml-dev
104
105
+ - name: Checkout Fluent Bit code
106
+ uses: actions/checkout@v4
107
108
+ - name: Compile w/ CXX support
109
110
+ export CXX=/bin/false
111
+ export nparallel=$(( $(getconf _NPROCESSORS_ONLN) > 8 ? 8 : $(getconf _NPROCESSORS_ONLN) ))
112
+ cmake ../
113
+ make -j $nparallel
114
+ working-directory: build
0 commit comments