diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 71c8523..5cf8967 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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"