Skip to content

Commit a338045

Browse files
committed
Simplify AppVeyor build configuration & scripts
1 parent 29e2844 commit a338045

4 files changed

Lines changed: 3 additions & 161 deletions

File tree

appveyor.yml renamed to .appveyor.yml

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ image:
66
# ----------------
77
# ALL BUILD JOBS
88
# ----------------
9+
configuration: Release
910
skip_tags: false
10-
test: off
1111

1212

1313
for:
@@ -24,15 +24,6 @@ for:
2424
- chmod +x ./dotnet-install.sh
2525
- sudo ./dotnet-install.sh --channel 10.0 --install-dir /usr/share/dotnet
2626

27-
# build and run tests
28-
build_script:
29-
- uname -a
30-
- ./build.sh
31-
32-
# upload test results
33-
after_build:
34-
- find "$APPVEYOR_BUILD_FOLDER" -type f -name '*TestResults.xml' -print0 | xargs -0 -I '{}' curl -F 'file=@{}' "https://ci.appveyor.com/api/testresults/nunit3/$APPVEYOR_JOB_ID"
35-
3627
# deployment is handled exclusively by the Windows build job (below)
3728
deploy: off
3829

@@ -56,20 +47,9 @@ for:
5647
install:
5748
- cmd: choco install dotnet-10.0-sdk
5849

59-
# build and run tests
60-
build_script:
61-
- cmd: build.cmd
62-
63-
# upload test results
6450
after_build:
65-
- ps: |
66-
$wc = New-Object System.Net.WebClient
67-
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path "Net80TestResults.xml"))
68-
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path "Net80WeakNamedTestResults.xml"))
69-
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path "Net90TestResults.xml"))
70-
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path "Net90WeakNamedTestResults.xml"))
71-
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path "DesktopClrTestResults.xml"))
72-
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path "DesktopClrWeakNamedTestResults.xml"))
51+
- dotnet build tools\Explicit.NuGet.Versions
52+
- .\tools\Explicit.NuGet.Versions\build\nev.exe ".\build" "castle."
7353

7454
# push packages to NuGet on tag builds
7555
on_success:

build.cmd

Lines changed: 0 additions & 17 deletions
This file was deleted.

build.sh

Lines changed: 0 additions & 66 deletions
This file was deleted.

buildscripts/build.cmd

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)