add some Artifact
@@ -9,28 +9,28 @@ platform:
- Win64
install:
- - ps: |
- ./scripts/get.ps1 -branch $env:APPVEYOR_REPO_BRANCH
+ - ps: ./scripts/get.ps1 -branch $env:APPVEYOR_REPO_BRANCH
build_script:
- - ps: |
- Get-Command xmake
- xmake --version
- xmake build --project=core
+ - ps: Get-Command xmake
+ - ps: xmake --version
+ - ps: xmake build --project=core
+ - ps: |-
Set-AppveyorBuildVariable -Name XMAKE_PROGRAM_DIR -Value $(Join-Path $(Get-Location) "xmake")
.\core\build\xmake.exe --version
Copy-Item -Force core\build\xmake.exe $(Get-Command xmake).Source
after_build:
- - ps: |
+ - ps: |-
Copy-Item .\core\build\xmake.exe .\xmake
Copy-Item .\*.md .\xmake
Compress-Archive -Path .\xmake -DestinationPath .\archive.zip -CompressionLevel Optimal
- Push-AppveyorArtifact .\archive.zip -FileName xmake.zip -DeploymentName "xmake-$($env:PLATFORM)"
+ Push-AppveyorArtifact .\xmake\xmake.exe -FileName xmake.exe -DeploymentName "xmake-executable"
+ Push-AppveyorArtifact .\archive.zip -FileName xmake.zip -DeploymentName "xmake-archive"
test_script:
- - ps: |
- xmake --version
+ - ps: xmake --version
+ - ps: |-
Add-AppveyorTest -Name "tests" -Framework "xmake-test" -FileName ./tests/test.lua -Outcome Running
$time = Measure-Command {
$results = xmake lua --verbose --diagnosis tests\test.lua 2>&1
