This commit is contained in:
parent
3303be4196
commit
e2e9fcb1ce
@ -15,25 +15,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Run CMake build and install
|
- name: Run CMake build and install
|
||||||
run: |
|
run: |
|
||||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser # 允许本地脚本执行
|
echo "test_start"
|
||||||
echo "Set up conda environment"
|
sleep 20
|
||||||
cd D:/code/test/Build # 构建输出的路径
|
echo "test_end"
|
||||||
conda init powershell
|
|
||||||
echo "Set up conda environment completed"
|
|
||||||
|
|
||||||
echo "Starting software environment"
|
|
||||||
conda activate software
|
|
||||||
echo "Successfully started the software environment"
|
|
||||||
|
|
||||||
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