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