summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-06-06 20:10:29 +0800
committerOpportunityLiu <[email protected]>2019-06-06 20:10:29 +0800
commitb175f88ac1c2557be21e186be4f23dae5fc7c03c (patch)
treefc9596f9c65331817b095c595bce33614fd65831
parent9411dfe71fcbb8048e93d954f5004850beec8b30 (diff)
add some Artifact
-rw-r--r--.appveyor.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 03752747f..fe31e67fa 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -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