Skip to content

Commit

Permalink
Update codeql.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaitine authored Sep 27, 2023
1 parent edf79dd commit 1f3ef0c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_REPO_TOKEN }}
submodules: 'recursive'
fetch-depth: 0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down Expand Up @@ -78,14 +74,14 @@ jobs:
- name: Install tools
run: |
sudo apt-get install kconfig-frontends
mkdir -p tools
cd tools
mkdir -p ../bin
cd ../bin
wget https://static.dev.sifive.com/dev-tools/freedom-tools/v2020.12/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14.tar.gz
tar xvf riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14.tar.gz
- name: Build nuttx
run: |
set -eux
export PATH=$PATH:$PWD/tools/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14/bin/
export PATH=$PATH:$PWD/../bin/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14/bin/
./tools/configure.sh icicle:nsh
make
- name: Perform CodeQL Analysis
Expand Down

0 comments on commit 1f3ef0c

Please sign in to comment.