diff --git a/.github/workflows/build-targets.yml b/.github/workflows/build-targets.yml new file mode 100644 index 000000000..1dbef5cd4 --- /dev/null +++ b/.github/workflows/build-targets.yml @@ -0,0 +1,29 @@ +name: mLRS Build Checks + +on: + push: + branches: + - main + - 'dev-esp**' + +jobs: + build-esp-targets: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + ~/.cache/pip + ~/.platformio/.cache + key: ${{ runner.os }}-pio + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + - name: Install PlatformIO Core + run: pip install --upgrade platformio + - name: Install mLRS Dependencies + run: python3 run_setup.py + - name: Build PlatformIO Project + run: pio run \ No newline at end of file