Skip to content

Commit

Permalink
Create workflow
Browse files Browse the repository at this point in the history
* Native test
* Cross binaries production
  • Loading branch information
arcadien authored Oct 16, 2023
1 parent 6f085db commit c3a545b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: PlatformIO CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install PlatformIO Core
run: pip install --upgrade platformio

- name: Test project in native environment
run: pio test -e native

- name: Build console application
run: pio run -e native

- name: Build 'target' cross application
run: pio run -e target

- name: Build 'gun' cross application
run: pio run -e gun

0 comments on commit c3a545b

Please sign in to comment.