From 2519e1ce23b88237bd2ade9d39ef576197fcc356 Mon Sep 17 00:00:00 2001 From: Volodymyr Shymanskyy Date: Sun, 12 Jan 2020 20:56:22 +0200 Subject: [PATCH] Split pio build --- .github/workflows/tests.yml | 49 ++++++++++++++++++++++++++++++------- 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 115b146..af72f16 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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,14 +258,34 @@ 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 pio run -e maix - + build-particle: runs-on: ubuntu-latest timeout-minutes: 10 + if: "github.event_name == push" steps: - uses: actions/checkout@v1