Add build artifact upload #5
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
name: Test Self-Hosted Runner | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
test-self-hosted: | |
runs-on: self-hosted | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build for cli | |
run: | | |
cd firmware | |
make PROJECT=Demo/Blink PLATFORM=cli build | |
- name: Build for stm32f767 | |
run: | | |
cd firmware | |
make PROJECT=Demo/Blink PLATFORM=stm32f767 build | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Test Build Artifact | |
path: firmware/build/ |