mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2024-09-19 19:00:15 +00:00
Let's add pico and local CodeQL modes.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
de4d95beb8
commit
215221b30e
3
.github/workflows/codeql.yml
vendored
3
.github/workflows/codeql.yml
vendored
@ -36,6 +36,7 @@ jobs:
|
||||
language: [ 'cpp', 'python' ]
|
||||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
||||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
||||
mode: [ 'pico', 'local' ]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@ -67,7 +68,7 @@ jobs:
|
||||
|
||||
- run: |
|
||||
echo "Run, Build Application using script"
|
||||
./workflows/autobuild.sh
|
||||
./workflows/autobuild.sh ${{ matrix.mode }}
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
|
@ -9,5 +9,9 @@ git submodule update --init
|
||||
cd ..
|
||||
mkdir build
|
||||
cd build
|
||||
if [[ $1 == "pico" ]]; then
|
||||
cmake -DPICO_SDK_PATH=../pico-sdk ..
|
||||
else
|
||||
cmake -DENABLE_EMULATION=1 ..
|
||||
fi
|
||||
make
|
||||
|
Loading…
Reference in New Issue
Block a user