Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-build default and base vide mode variant #30

Merged
merged 8 commits into from
Sep 8, 2024
17 changes: 15 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,22 @@ jobs:
cmake .. -G Ninja -DPICO_SDK_PATH=../../pico-sdk
ninja
- name: 'Upload artifacts'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: firmware
path: |
./firmware/build/gb_interceptor.*
retention-days: 7
retention-days: 30
- name: Build base video mode firmware
run: |
cd ./firmware/build
rm -rf -- ..?* .[!.]* *
cmake .. -G Ninja -DBASE_VIDEO_MODE=1 -DPICO_SDK_PATH=../../pico-sdk
ninja
- name: 'Upload base video mode artifacts'
uses: actions/upload-artifact@v4
with:
name: firmware_base_video_mode
path: |
./firmware/build/gb_interceptor.*
retention-days: 30