Skip to content

Commit

Permalink
fixed issue #114 and improved workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
hpsaturn committed May 8, 2024
1 parent 2df67f1 commit f7ae604
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 10 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/devel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: PlatformIO

on:
pull_request:
branches:
- devel
paths-ignore:
- '**/README.md'

jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: [3.10]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U platformio
pio pkg update
- name: Testing ESP32 Custom Board
run: |
export ICENAV3_LON=13.404
export ICENAV3_LAT=52.520
pio run
- name: Testing ESP32S3 MakerFabs Board
run: |
export ICENAV3_LON=13.404
export ICENAV3_LAT=52.520
pio run -e MAKERF_ESP32S3
14 changes: 6 additions & 8 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
name: PlatformIO

on:
push:
branches:
- master

pull_request:
branches:
- master
paths-ignore:
- '**/README.md'

jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: [3.7]
python-version: [3.10]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -27,14 +25,14 @@ jobs:
python -m pip install --upgrade pip
pip install -U platformio
pio pkg update
- name: Testing ESP32 Board
- name: Testing ESP32 Custom Board
run: |
export ICENAV3_LON=13.404
export ICENAV3_LAT=52.520
pio run
- name: Testing ESP32S3 Board
- name: Testing ESP32S3 MakerFabs Board
run: |
export ICENAV3_LON=13.404
export ICENAV3_LAT=52.520
pio run
pio run -e MAKERF_ESP32S3
4 changes: 2 additions & 2 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
max-parallel: 1
matrix:
python-version: [3.7]
python-version: [3.10]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -26,7 +26,7 @@ jobs:
run: |
export ICENAV3_LON=13.404
export ICENAV3_LAT=52.520
pio run
pio run -e CUSTOMBOARD -e MAKERF_ESP32S3


0 comments on commit f7ae604

Please sign in to comment.