Skip to content

Commit

Permalink
Merge pull request #30 from Sylensky/feature/ci-build
Browse files Browse the repository at this point in the history
Feature/ci build
  • Loading branch information
Th0MmyS authored Jan 29, 2025
2 parents 08b1d30 + f95d063 commit 6460f83
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: OGStarTracker Build CI

on:
workflow_run:
workflows: ["Formatting Check"]
types:
- completed
branches:
- main
- beta

jobs:
build:
name: Build
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install PlatformIO Core
run: pip install --upgrade platformio

- name: Build OGStarTracker
run: pio run --project-dir esp32_wireless_control/firmware

- name: Upload Build Artifact
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: binaries
path: |
esp32_wireless_control/firmware/.pio/build/ogstartracker_release/ogstartracker*.bin
2 changes: 1 addition & 1 deletion esp32_wireless_control/firmware/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ src_dir = ./
shared_dir = shared

[env]
platform = espressif32
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10/platform-espressif32.zip
board = esp32doit-devkit-v1
board_build.f_cpu = 240000000L
upload_protocol = esptool
Expand Down

0 comments on commit 6460f83

Please sign in to comment.