Skip to content

Commit

Permalink
Create CI for building in schedule and commit push to main
Browse files Browse the repository at this point in the history
Will build the project of this repo
  • Loading branch information
hayschan committed Feb 15, 2024
1 parent 2d12174 commit 6093a57
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 'Build project'

on:
push:
branches:
- 'main'
pull_request:
types: [opened, reopened, synchronize]
schedule:
- cron: '0 1 * * 6'

jobs:
build-example:
runs-on: ubuntu-latest
strategy:
matrix:
idf_ver: ["release-v5.0", "release-v5.1", "latest"]
idf_target: ["esp32", "esp32s3"]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Build example
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: ${{ matrix.idf_ver }}
target: ${{ matrix.idf_target }}
# root directory of the project
path: .

0 comments on commit 6093a57

Please sign in to comment.