修改CI脚本
All checks were successful
CI Pipeline / build (push) Successful in 2s

This commit is contained in:
江舟水洲 2025-04-17 11:27:00 +00:00
parent eb85c1046a
commit 5e832a4781

@ -1,20 +1,21 @@
name: Embedded CI name: CI Pipeline
on:
on: [push, pull_request] push:
branches:
- main
pull_request:
branches:
- main
jobs: jobs:
build-and-test: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: 🔍 Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Setup Environment - name: 🔧 Test Codes
run: | run: |
apt-get update set -e # 任何命令失败都停止执行
apt-get install -y python3 python3-pip python3-venv
python3 -m pip install --upgrade platformio
- name: Build Project echo "Building repository code ${{ gitea.repository }}:${{ gitea.ref }}."
run: |
pio run