use bash for esp-idf build

This commit is contained in:
sfja 2026-03-27 20:08:01 +01:00
parent 2b9bb2d794
commit d10945e0a2

View File

@ -12,13 +12,13 @@ jobs:
container: sfja/h5-mst-ci:latest container: sfja/h5-mst-ci:latest
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- name: check - name: Check
working-directory: ./backend working-directory: ./backend
run: make check run: make check
- name: build - name: Build
working-directory: ./backend working-directory: ./backend
run: make all run: make all
- name: test - name: Test
working-directory: ./backend working-directory: ./backend
run: make test run: make test
@ -28,25 +28,27 @@ jobs:
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- run: rustup default stable - run: rustup default stable
- name: check - name: Check
working-directory: ./game working-directory: ./game
run: cargo check run: cargo check
- name: build - name: Build
working-directory: ./game working-directory: ./game
run: cargo build run: cargo build
- name: test - name: Test
working-directory: ./game working-directory: ./game
run: cargo test run: cargo test
skateboard: skateboard:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: espressif/idf:v5.5.4 container: espressif/idf:release-v5.5
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- name: build - name: Build
shell: bash
working-directory: ./skateboard working-directory: ./skateboard
# https://github.com/espressif/esp-bsp/blob/master/.github/workflows/build-run-applications.yml # https://github.com/espressif/esp-bsp/blob/master/.github/workflows/build-run-applications.yml
run: | run: |
export IDF_PYTHON_CHECK_CONSTRAINTS=yes
${IDF_PATH}/install.sh --enable-ci ${IDF_PATH}/install.sh --enable-ci
source ${IDF_PATH}/export.sh source ${IDF_PATH}/export.sh
idf.py compile idf.py compile