Skip to content

Commit

Permalink
Update CI/CD (#139)
Browse files Browse the repository at this point in the history
* Add GitHub Actions workflow for testing and build for Wall-E

* Update workflow file name and job name
  • Loading branch information
SuperChamp234 authored Feb 1, 2024
1 parent 3445981 commit 2754499
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test-build-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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

0 comments on commit 2754499

Please sign in to comment.