38 lines
850 B
YAML
38 lines
850 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
verify:
|
|
name: Non-hardware verification
|
|
runs-on: [trusted, docker, linux]
|
|
container:
|
|
image: python:3.11-bookworm
|
|
timeout-minutes: 90
|
|
steps:
|
|
- name: Install runner prerequisites
|
|
run: |
|
|
apt-get update
|
|
apt-get install -y --no-install-recommends git ca-certificates
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Install PlatformIO
|
|
run: python -m pip install --no-cache-dir platformio==6.1.18
|
|
|
|
- name: Verify
|
|
env:
|
|
PYTHONIOENCODING: utf-8
|
|
PYTHONUTF8: "1"
|
|
PIO_FORCE_COLOR: "0"
|
|
run: python tools/verify.py
|