Skip to content

Commit

Permalink
Move Esp32 CI to GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
slav-at-attachix committed May 10, 2022
1 parent 87a2354 commit f0fb31f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Sming CI

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
build:
strategy:
matrix:
variant: [esp32, esp32s2, esp32c3]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install Sming Framework
run: |
env
./Tools/install.sh esp32
echo "SMING_HOME=$(pwd)/Sming" >> $GITHUB_ENV
- name: Build and Test for Esp32
env:
SMING_ARCH: Esp32
SMING_SOC: ${{matrix.variant}}
run: |
env
source $SMING_HOME/../Tools/export.sh
./Tools/ci/build.sh

0 comments on commit f0fb31f

Please sign in to comment.