Skip to content

Commit

Permalink
Custom env for PIO in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhampuswall committed Jan 17, 2024
1 parent 4be97a8 commit 1ddcc2d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ jobs:
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Build Firmware (view)
- name: Build Firmware (seedlabs_devkit)
# Run regardless of other build step failures, as long as setup steps completed
if: always() && steps.pio_install.outcome == 'success'
run: |
pio run \
-e seedlabs_devkit
-e seedlabs_devkit_github_action
# - name: Build Firmware (nanofoc)
# # Run regardless of other build step failures, as long as setup steps completed
Expand Down
7 changes: 7 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,10 @@ build_flags =
-DFASTLED_UNUSABLE_PIN_MASK=0x100740LL
-DSOC_GPIO_VALID_GPIO_MASK=0xFF0EFFFFFF
-DSOC_GPIO_VALID_OUTPUT_GPIO_MASK=0x30EFFFFFF

-DGITHUB_ACTION=0

[env:seedlabs_devkit_github_action]
extends = seedlabs_devkit
build_flags =
-DSK_NETWORKING=0

0 comments on commit 1ddcc2d

Please sign in to comment.