|
|
@@ -15,6 +15,10 @@ init:
|
|
|
& "C:\Python39-x64\python.exe" "C:\CraftMaster\CraftMaster\CraftMaster.py" --config "$env:APPVEYOR_BUILD_FOLDER\appveyor.ini" --variables "APPVEYOR_BUILD_FOLDER=$env:APPVEYOR_BUILD_FOLDER" --target $env:TARGET -c $args
|
|
|
if($LASTEXITCODE -ne 0) {exit $LASTEXITCODE}
|
|
|
}
|
|
|
+ function crafttests() {
|
|
|
+ cmd /C "echo %PATH%"
|
|
|
+ & "C:\Python39-x64\python.exe" "C:\CraftMaster\CraftMaster\CraftMaster.py" --config "$env:APPVEYOR_BUILD_FOLDER\appveyor.ini" --variables "APPVEYOR_BUILD_FOLDER=$env:APPVEYOR_BUILD_FOLDER" --target $env:TARGET -c $args
|
|
|
+ }
|
|
|
|
|
|
install:
|
|
|
- ps: |
|
|
|
@@ -32,7 +36,9 @@ build_script:
|
|
|
cp C:\CraftMaster\windows-msvc2019_64-cl\tmp\*.7z $env:APPVEYOR_BUILD_FOLDER
|
|
|
cp C:\CraftMaster\windows-msvc2019_64-cl\tmp\*.exe $env:APPVEYOR_BUILD_FOLDER
|
|
|
|
|
|
-test: off
|
|
|
+test_script:
|
|
|
+- ps: |
|
|
|
+ crafttests --test --src-dir $env:APPVEYOR_BUILD_FOLDER nextcloud-client
|
|
|
|
|
|
environment:
|
|
|
matrix:
|