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 5ec8973 commit d734a74Copy full SHA for d734a74
.github/workflows/pr-compile-check.yaml
@@ -78,3 +78,26 @@ jobs:
78
run: |
79
ldd ./bin/fluent-bit
80
working-directory: build
81
+
82
+ # Sanity check for compilation w/ CXX support
83
+ pr-compile-without-cxx:
84
+ runs-on: ubuntu-latest
85
+ timeout-minutes: 60
86
+ strategy:
87
+ fail-fast: false
88
+ steps:
89
+ - name: Setup environment
90
+ run: |
91
+ sudo apt-get update
92
+ sudo apt-get install -y bison cmake flex gcc libssl-dev libyaml-dev
93
94
+ - name: Checkout Fluent Bit code
95
+ uses: actions/checkout@v4
96
97
+ - name: Compile w/ CXX support
98
99
+ export CXX=/bin/false
100
+ export nparallel=$(( $(getconf _NPROCESSORS_ONLN) > 8 ? 8 : $(getconf _NPROCESSORS_ONLN) ))
101
+ cmake ../
102
+ make -j $nparallel
103
+ working-directory: build
0 commit comments