Skip to content

Commit

Permalink
Update platformio.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShallowGreen123 committed Sep 2, 2024
1 parent 97aff1f commit 25ca822
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ on:

jobs:
build:
runs-on: ${{ matrix.os }} # 指定的运行器环境中运行
runs-on: ubuntu-20.04 # 指定的运行器环境中运行 [ubuntu-latest, macos-latest, windows-latest]
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
example:
- examples/factory
- examples/test_BHI260AP
Expand Down Expand Up @@ -46,6 +45,6 @@ jobs:
run: pip install --upgrade platformio

- name: Run PlatformIO
run: pio ci --lib="." --board=uno --board=teensy31 --board=due
env:
PLATFORMIO_CI_SRC: ${{ matrix.example }}
run: |
export PLATFORMIO_SRC_DIR=${{ matrix.example }}
pio run

0 comments on commit 25ca822

Please sign in to comment.