mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
38 lines
721 B
YAML
38 lines
721 B
YAML
name: 'Pre-check on PR'
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches: dev
|
|
paths:
|
|
- '**.c'
|
|
- '**.cpp'
|
|
- '**.h'
|
|
- '**.hpp'
|
|
- '**.json'
|
|
- '**.py'
|
|
- '**.md'
|
|
- '.github/workflows/pr_check.yml'
|
|
|
|
jobs:
|
|
pre-release:
|
|
name: 'Automatic pre-release build'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Install python 3.13
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.13'
|
|
|
|
- name: Install PlatformIO
|
|
run: |
|
|
pip install wheel
|
|
pip install -U platformio
|
|
|
|
- name: Build native
|
|
run: |
|
|
platformio run -e native
|