04
Some checks are pending
Build & Pack Release / build (push) Waiting to run

This commit is contained in:
威勝 張 2025-02-22 20:43:47 +08:00
parent 3303be4196
commit e2e9fcb1ce

View File

@ -15,25 +15,9 @@ jobs:
- name: Run CMake build and install
run: |
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser # 允许本地脚本执行
echo "Set up conda environment"
cd D:/code/test/Build # 构建输出的路径
conda init powershell
echo "Set up conda environment completed"
echo "Starting software environment"
conda activate software
echo "Successfully started the software environment"
echo "test_start"
sleep 20
echo "test_end"
echo "Generate build files "
cmake -DCMAKE_INSTALL_PREFIX=D:/code/test/Build -S D:/code/test -B D:/code/test/Build
echo "Build file completed "
echo "Starting CMake build "
cmake --build D:/code/test/Build --config Release
echo "Completed CMake build"
echo "Starting CMake install"
cmake --install D:/code/test/Build --config Release
echo "Completed CMake install"