Skip to content

Commit

Permalink
Fixed GitHub's CodeQL scanner. (#2109)
Browse files Browse the repository at this point in the history
  • Loading branch information
slaff authored Oct 9, 2020
1 parent 7414d78 commit d375ef7
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# - name: Autobuild
# uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -63,9 +63,15 @@ jobs:
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- if: matrix.language == 'cpp' || matrix.language == 'c'
name: Build Sming C/C++
run: |
sudo apt-get install -y gcc-multilib g++-multilib
env
cd Sming
export SMING_HOME=$(pwd)
cd ../samples/Basic_Blink
make SMING_ARCH=Host
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

0 comments on commit d375ef7

Please sign in to comment.