Skip to content

Commit

Permalink
added portduino to CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tobozo committed Apr 24, 2024
1 parent 17dce2c commit 9d6775b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/PlatformioBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
- m5stack-core-esp32
- m5stack-core2
- m5stack-cores3
- native

platform-version:
- 1.0.6
Expand Down Expand Up @@ -103,6 +102,5 @@ jobs:
export pio_ver=${{ matrix.platform-version }}
export pio_env="${pio_ver//./_}"
pio pkg install -e ${{ matrix.board }}-$pio_env --no-save --library file://$(realpath ../../../)
[[ "$pio_env" == "native" ]] && { sudo apt update; sudo apt-get install libgpiod-dev; }
[[ "$pio_env" == "native" ]] && export PLATFORMIO_SRC_DIR=portduino
[[ "$pio_env" == "portduino" ]] && { sudo apt update; sudo apt-get install libgpiod-dev; export PLATFORMIO_SRC_DIR=portduino; }
pio run -e ${{ matrix.board }}-$pio_env

0 comments on commit 9d6775b

Please sign in to comment.