Skip to content

Commit

Permalink
workflow: publish elf for debug version to memfault
Browse files Browse the repository at this point in the history
The debug version of the oob application was added to the attach
release assets last week, but the symbol files (elf) was not uploaded
to Memfault. This commit adds a step for uploading the elf for the
debug build.

Signed-off-by: Gregers Gram Rygg <[email protected]>
  • Loading branch information
gregersrygg committed Oct 7, 2024
1 parent 843dac2 commit c1d05d7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/publish-symbol-files-to-memfault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- run: node .github/workflows/fetch-release-assets.mjs ${{ inputs.version }}

- name: Publish symbol files
- name: Publish oob symbol files
run: |
source venv/bin/activate
memfault \
Expand All @@ -43,3 +43,15 @@ jobs:
--software-type hello.nrfcloud.com \
--software-version ${{ inputs.version }} \
hello.nrfcloud.com-${{ inputs.version }}-thingy91x-nrf91.elf
- name: Publish oob-debug symbol files
run: |
source venv/bin/activate
memfault \
--org-token ${{ secrets.MEMFAULT_ORGANIZATION_TOKEN }} \
--org ${{ vars.MEMFAULT_ORGANIZATION_SLUG }} \
--project ${{ vars.MEMFAULT_PROJECT_SLUG }} \
upload-mcu-symbols \
--software-type hello.nrfcloud.com \
--software-version ${{ inputs.version }} \
hello.nrfcloud.com-${{ inputs.version }}-debug-thingy91x-nrf91.elf

0 comments on commit c1d05d7

Please sign in to comment.