name: CI

on: [push]

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest]
    
    runs-on: ${{ matrix.os }}
    env:
      PIP_BREAK_SYSTEM_PACKAGES: 1
    steps:
      - uses: actions/checkout@v2
        with: 
          submodules: "recursive"
      - name: Install deps
        run: |
          #apt-get install -y python3-pip
          python3 -m pip install --upgrade pip
          pip install -U platformio
      - name: Build
        run: |
          pio run
         
