Split pio build
@@ -202,7 +202,7 @@ jobs:
build-platformio:
runs-on: ubuntu-latest
- timeout-minutes: 10
+ timeout-minutes: 5
steps:
- uses: actions/checkout@v1
@@ -214,10 +214,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -U platformio
- - name: Build Arduino MKR1000
- run: |
- cd platforms/arduino
- pio run -e mkr1000
- name: Build AVR ATmega1284
run: |
cd platforms/arduino
@@ -231,10 +227,25 @@ jobs:
run: |
cd platforms/esp32-pio
pio run
- - name: Build HiFive1
+
+ build-platformio-arm:
+ runs-on: ubuntu-latest
+ timeout-minutes: 5
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up Python
+ uses: actions/setup-python@v1
+ with:
+ python-version: '3.x'
+ - name: Install PlatformIO
run: |
- cd platforms/hifive1
- pio run
+ python -m pip install --upgrade pip
+ pip install -U platformio
+ - name: Build Arduino MKR1000
+ run: |
+ cd platforms/arduino
+ pio run -e mkr1000
- name: Build Blue Pill (JeeH)
run: |
cd platforms/bluepill
@@ -247,6 +258,25 @@ jobs:
run: |
cd platforms/arduino
pio run -e az3166
+
+ build-platformio-riscv:
+ runs-on: ubuntu-latest
+ timeout-minutes: 5
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up Python
+ uses: actions/setup-python@v1
+ with:
+ python-version: '3.x'
+ - name: Install PlatformIO
+ run: |
+ python -m pip install --upgrade pip
+ pip install -U platformio
+ - name: Build HiFive1
+ run: |
+ cd platforms/hifive1
+ pio run
- name: Build Sipeed MAIX
run: |
cd platforms/arduino
@@ -255,6 +285,7 @@ jobs:
build-particle:
runs-on: ubuntu-latest
timeout-minutes: 10
+ if: "github.event_name == push"
steps:
- uses: actions/checkout@v1
