Let's try our autobuild

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2022-08-18 23:00:09 +02:00
parent fc6c852e09
commit fb76c23694
No known key found for this signature in database
GPG Key ID: C0095B7870A4CCD3
2 changed files with 8 additions and 5 deletions

View File

@ -55,8 +55,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@v2
# - name: Autobuild
# uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@ -64,9 +64,9 @@ jobs:
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
- run: |
echo "Run, Build Application using script"
./workflows/autobuild.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

3
workflows/autobuild.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
bash <(curl -s https://raw.githubusercontent.com/raspberrypi/pico-setup/master/pico_setup.sh)