From 08999bc3adec6567478fa501a16af3ef068aea29 Mon Sep 17 00:00:00 2001
From: free-x <oroitburd@gmail.com>
Date: Wed, 20 Oct 2021 13:33:41 +0200
Subject: [PATCH] Add initial CI workflow

---
 .github/workflows/ci.yml | 25 +++++++++++++++++++++++++
 1 file changed, 25 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 0000000..10258bc
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,25 @@
+name: CI
+
+on: [push]
+
+jobs:
+  build:
+    strategy:
+      fail-fast: false
+      matrix:
+        os: [ubuntu-20.04]
+    
+    runs-on: ${{ matrix.os }}
+    steps:
+      - uses: actions/checkout@v2
+        with: 
+          submodules: "recursive"
+      - name: Install deps
+        run: |
+          #apt-get install -y python3-pip
+          python3 -m pip install --upgrade pip
+          pip install -U platformio
+      - name: Build
+        run: |
+          pio run -e m5stack-atom
+