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 a9eb8ee commit 06b1ed2Copy full SHA for 06b1ed2
.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 nparallel=$(( $(getconf _NPROCESSORS_ONLN) > 8 ? 8 : $(getconf _NPROCESSORS_ONLN) ))
95
+ cmake ../
96
+ cat CMakeCache.txt | grep -q CMAKE_CXX_COMPILER-NOTFOUND
97
+ make -j $nparallel
98
+ working-directory: build
0 commit comments