From f0fb31f0997b8ac68a4e4efe071b40b85fb2878a Mon Sep 17 00:00:00 2001 From: Slavey Karadzhov Date: Tue, 10 May 2022 10:52:14 +0200 Subject: [PATCH] Move Esp32 CI to GitHub Actions. --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..6c9651d2f4 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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