10000 dont export funcs, fix scope, revert to ..._P · esp8266/Arduino@7b0523d · GitHub
[go: up one dir, main page]

Skip to content
< 8000 div class="application-main " data-commit-hovercards-enabled data-discussion-hovercards-enabled data-issue-and-pr-hovercards-enabled data-project-hovercards-enabled >

Device tests updates #825

Device tests updates

Device tests updates #825

# We do not distribute any environment settings, so just try to build some sketches
# using the 'master' branch and using the uploaded toolchain version via get.py
# Also, limit the amount of sketches and simply
name: Build examples with PlatformIO
on:
pull_request:
permissions:
contents: read
jobs:
build-pio:
name: Linux (random sketches)
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: actions/cache@v4
with:
path: |
tools/dist
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-${{ hashFiles('package/package_esp8266com_index.template.json', 'tests/common.sh', 'tests/build.sh') }}
- name: Build
env:
ESP8266_ARDUINO_BUILDER: "platformio"
run: |
pip install -U platformio
env ESP8266_ARDUINO_SKETCHES="$(find libraries/ -name '*.ino' | shuf -n 10 -)" bash ./tests/build.sh
0