Introduce AsyncURIMatcher class to encapsulate the URI matching logic with and without regex support (-D ASYNCWEBSERVER_REGEX=1) #239
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Build (LibreTiny) | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- release/* | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
platformio-libretiny: | |
name: LibreTiny (pio) | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
board: | |
- generic-bk7231n-qfn32-tuya | |
- generic-rtl8710bn-2mb-788k | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v5 | |
# - name: Cache PlatformIO | |
# uses: actions/cache@v4 | |
# with: | |
# key: ${{ runner.os }}-pio | |
# path: | | |
# ~/.cache/pip | |
# ~/.platformio | |
- name: Python | |
uses: actions/setup-python@v6 | |
with: | |
python-version: "3.x" | |
- name: Install PIO | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade platformio | |
- name: Build Examples | |
run: | | |
for i in AsyncResponseStream Auth Headers; do | |
echo "=============================================================" | |
echo "Building examples/$i..." | |
echo "=============================================================" | |
PLATFORMIO_SRC_DIR=examples/$i PIO_BOARD=${{ matrix.board }} pio run -e ci-libretiny | |
done |