Skip to content

Commit

Permalink
fix codeql workflow too
Browse files Browse the repository at this point in the history
  • Loading branch information
pwittich committed Feb 16, 2024
1 parent a41ff2d commit 7ab877c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
schedule:
- cron: '30 4 * * 1'
workflow_dispatch:
branches: [ master ]

# note that I need to manually set the path for the arm-none-eabi-gcc exe
# after it comes out of the cache. I don't understand why I need to do that.
Expand All @@ -25,7 +24,6 @@ jobs:
uses: carlosperate/[email protected]
with:
release: '13.2.Rel1' # The arm-none-eabi-gcc release to use.
# Directory to unpack GCC to. Defaults to a temporary directory.
- name: make with GCC, debug build, Rev1
run: |
export PATH=${PATH}:$HOME/work/_temp/arm-none-eabi/bin:
Expand Down
19 changes: 3 additions & 16 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,28 +50,15 @@ jobs:
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
- name: Check cache for Embedded Arm Toolchain arm-none-eabi-gcc
id: cache-toolchain
uses: actions/cache@v2
env:
cache-name: cache-toolchain-10-2020-q4
with:
path: ${{ runner.temp }}/arm-none-eabi
key: ${{ runner.os }}-buildv1-${{ env.cache-name }}
restore-keys: ${{ runner.os }}-buildv1-${{ env.cache-name }}

- name: Install Embedded Arm Toolchain arm-none-eabi-gcc
if: steps.cache-toolchain.outputs.cache-hit != 'true' # Install toolchain if not found in cache
uses: fiam/[email protected]
uses: carlosperate/[email protected]
with:
release: '10-2020-q4' # The arm-none-eabi-gcc release to use.
# Directory to unpack GCC to. Defaults to a temporary directory.
directory: ${{ runner.temp }}/arm-none-eabi
release: '13.2.Rel1' # The arm-none-eabi-gcc release to use.
- name: make with GCC
run: |
export PATH=${PATH}:$HOME/work/_temp/arm-none-eabi/bin:
arm-none-eabi-gcc --version
make -k -w VERBOSE=1 REV1=1
make -k -w VERBOSE=1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit 7ab877c

Please sign in to comment.