mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-07 20:17:04 +03:00
Create I2S-4MB Build Workflow
Testing the github actions to automate the build with espressif's docker inage
This commit is contained in:
30
.github/workflows/I2S-4MBFlash.yml
vendored
Normal file
30
.github/workflows/I2S-4MBFlash.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: I2S-4MBFlash
|
||||
|
||||
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||
# events but only for the master branch
|
||||
on:
|
||||
push:
|
||||
branches: [ master-cmake ]
|
||||
pull_request:
|
||||
branches: [ master-cmake ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: Cache build
|
||||
id: cache-build
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ${{github.workspace}}/build
|
||||
key: ${{ runner.os }}-I2S-4MBFlash
|
||||
- name: Build the firmware
|
||||
run: |
|
||||
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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user