Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI/CD #139

Merged
merged 2 commits into from
Feb 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/test-build-app.yml
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good!!

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