Added workflow to generate releases #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Build of Wall-E | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build-test: | |
name: Test Build of Wall-E | |
runs-on: ubuntu-latest | |
container: | |
image: espressif/idf:release-v5.1 | |
strategy: | |
matrix: | |
test-apps: [1_led_blink, 2_LSA, 3_MPU, 4_switch_controlled_motor_normal, 5_PWM, 6_line_following, 7_self_balancing] | |
steps: | |
- name: Force Install GIT latest | |
run: | | |
apt-get update \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common \ | |
&& apt-get update \ | |
&& add-apt-repository -y ppa:git-core/ppa \ | |
&& apt-get update \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get install -y git | |
- name: Setup Github Actions | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 1 | |
- name: Test ${{ matrix.test-apps }} | |
run: | | |
. $IDF_PATH/export.sh | |
cd ${{ matrix.test-apps }} | |
idf.py build |