This commit is contained in:
parent
3303be4196
commit
e2e9fcb1ce
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user