-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
3 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
@@ -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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |