Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from FablabTorino/github-actions
Browse files Browse the repository at this point in the history
Build on Github actions
  • Loading branch information
matjack1 authored Feb 4, 2022
2 parents f930df1 + d3a51f0 commit ffedc37
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 21 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/platformio-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Platformio build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install Platformio
run: |
python -m pip install --upgrade pip
pip install platformio
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run Platformio builds
run: |
platformio run -e generic -e relayboard -e debug
- name: Export bins
uses: actions/upload-artifact@v2
with:
name: bins
path: |
bin/generic.bin
bin/forV2Board.bin
bin/debug.bin
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

0 comments on commit ffedc37

Please sign in to comment.