-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an action to grab the .a files from a release
- Loading branch information
1 parent
42b6c39
commit 2179dd1
Showing
1 changed file
with
36 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Static Analysis Report | ||
|
||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
cppcheck: | ||
runs-on: ubuntu-20.04 | ||
name: Build against Ubuntu-20.04 for release assets | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install CppCheck | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y cppcheck | ||
- name: Setup arm-none-eabi-gcc | ||
uses: carlosperate/arm-none-eabi-gcc-action@v1 | ||
with: | ||
release: latest | ||
|
||
- name: Setup CMake | ||
uses: jwlawson/actions-setup-cmake@v1 | ||
|
||
- name: Build default project using build.py | ||
run: python build.py | ||
|
||
- uses: xresloader/upload-to-github-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
file: "build/*.a" | ||
update_latest_release: true | ||
|