I2S-4MBFlash.yml 903 B

123456789101112131415161718192021222324252627282930
  1. # This is a basic workflow to help you get started with Actions
  2. name: I2S-4MBFlash
  3. # Controls when the action will run. Triggers the workflow on push or pull request
  4. # events but only for the master branch
  5. on:
  6. push:
  7. branches: [ master-cmake ]
  8. pull_request:
  9. branches: [ master-cmake ]
  10. jobs:
  11. build:
  12. runs-on: ubuntu-latest
  13. steps:
  14. - uses: actions/checkout@v2
  15. with:
  16. submodules: true
  17. - name: Cache build
  18. id: cache-build
  19. uses: actions/cache@v1
  20. with:
  21. path: ${{github.workspace}}/build
  22. key: ${{ runner.os }}-I2S-4MBFlash
  23. - name: Build the firmware
  24. run: |
  25. docker run --rm -v $PWD:/project -w /project espressif/idf:release-v4.0 /bin/bash -c "python3 -m pip install --upgrade pip setuptools wheel && pip3 install protobuf grpcio-tools && cp build-scripts/I2S-4MFlash-sdkconfig.defaults sdkconfig && idf.py build"