Skip to content

Commit 7a0ec72

Browse files
committed
fixes idf build
1 parent 04240b2 commit 7a0ec72

File tree

1 file changed

+4
-28
lines changed

1 file changed

+4
-28
lines changed

.github/workflows/usb-audio.yml

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
with:
2323
submodules: recursive
2424

25-
- name: Setup ESP-IDF
26-
uses: espressif/setup-esp-idf@v1
25+
- name: Install ESP-IDF
26+
uses: espressif/install-esp-idf-action@v1
2727
with:
28-
esp-idf-version: 'v5.1.2'
29-
target: 'esp32s3'
28+
version: 'v5.5.1'
3029

3130
- name: Build project
3231
working-directory: ./usb-audio
3332
run: |
33+
idf.py set-target esp32s3
3434
idf.py build
3535
3636
- name: Upload build artifacts
@@ -39,27 +39,3 @@ jobs:
3939
name: usb-audio-firmware
4040
path: usb-audio/build/usb-mic2.bin
4141
retention-days: 7
42-
43-
test:
44-
runs-on: ubuntu-latest
45-
needs: build
46-
47-
steps:
48-
- name: Checkout code
49-
uses: actions/checkout@v4
50-
with:
51-
submodules: recursive
52-
53-
- name: Setup ESP-IDF
54-
uses: espressif/setup-esp-idf@v1
55-
with:
56-
esp-idf-version: 'v5.1.2'
57-
target: 'esp32s3'
58-
59-
- name: Run tests
60-
working-directory: ./usb-audio
61-
run: |
62-
# Run any available tests
63-
if [ -f "pytest_hello_world.py" ]; then
64-
python -m pytest pytest_hello_world.py -v
65-
fi

0 commit comments

Comments
 (0)