Skip to content

Commit

Permalink
[CodeQL]: Fix syncd compilation in azp template. (#1261)
Browse files Browse the repository at this point in the history
This PR contains a fix of CodeQL bug introduced by: #1194

Signed-off-by: Nazarii Hnydyn <[email protected]>
  • Loading branch information
nazariig authored Jul 4, 2023
1 parent a3f1f1a commit eed856c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ jobs:
name: build
run: |
./autogen.sh
DEB_BUILD_OPTIONS=nocheck SWSS_COMMON_INC="$(dirname $GITHUB_WORKSPACE)/usr/include" SWSS_COMMON_LIB="$(dirname $GITHUB_WORKSPACE)/usr/lib/x86_64-linux-gnu" fakeroot debian/rules CFLAGS="-Wno-error" CXXFLAGS="-Wno-error" binary-syncd-vs
DEB_BUILD_OPTIONS=nocheck \
SWSS_COMMON_INC="$(dirname $GITHUB_WORKSPACE)/usr/include" \
SWSS_COMMON_LIB="$(dirname $GITHUB_WORKSPACE)/usr/lib/x86_64-linux-gnu" \
DEB_CFLAGS_SET="-Wno-error" DEB_CXXFLAGS_SET="-Wno-error" \
dpkg-buildpackage -us -uc -b -Psyncd,vs,nopython2 -j$(nproc)
- name: Perform CodeQL Analysis
uses: github/codeql-action/[email protected]
Expand Down

0 comments on commit eed856c

Please sign in to comment.