Skip to content

Dev Branch Merge

Dev Branch Merge #22

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
paths-ignore:
- hardware/**
push:
branches:
- master
paths-ignore:
- hardware/**
jobs:
build:
name: Run Tests
runs-on: "${{ matrix.os }}"
# runs-on: "ubuntu-latest"
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
# python-version: ["3.7", "3.8", "3.9"]
steps:
- name: Check out the commit
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Select Python 3.7
uses: actions/setup-python@v3
with:
# python-version: ${{ matrix.python-version }}
python-version: "3.8"
- name: Install PlatformIO
run: |
pip install -U -r tools/requirements.txt
pio upgrade --dev
pio pkg update --global
- name: Run Builds
run: |
python make.py build sam --env all esp -v
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') && job.status == 'success' && github.ref == 'refs/heads/master'
with:
files: |
bin/*