威勝 張 c40bd7d1b3
Some checks failed
test_CICD / build (push) Failing after 6s
10
2025-02-22 21:03:33 +08:00

28 lines
530 B
YAML

name: test_CICD # 工作流的名称
# 当有代码推送到仓库的 main 分支时,这个 Actions 工作流会被触发并执行
on:
push:
branches:
- main
- develop
jobs:
build:
runs-on: test
steps:
- name: Set PowerShell Execution Policy
shell: powershell
run: Set-ExecutionPolicy Bypass -Scope Process -Force
- name: Run CMake build and install
shell: powershell
run: |
echo "test_start"
sleep 20
echo "test_end"