Skip to content

Commit 90308b8

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

4 files changed

Lines changed: 5 additions & 161 deletions

File tree

appveyor.yml renamed to .appveyor.yml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ image:
66
# ----------------
77
# ALL BUILD JOBS
88
# ----------------
9+
build:
10+
project: Castle.Core.slnx
11+
configuration: Release
912
skip_tags: false
10-
test: off
1113

1214

1315
for:
@@ -24,15 +26,6 @@ for:
2426
- chmod +x ./dotnet-install.sh
2527
- sudo ./dotnet-install.sh --channel 10.0 --install-dir /usr/share/dotnet
2628

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-
3629
# deployment is handled exclusively by the Windows build job (below)
3730
deploy: off
3831

@@ -56,20 +49,9 @@ for:
5649
install:
5750
- cmd: choco install dotnet-10.0-sdk
5851

59-
# build and run tests
60-
build_script:
61-
- cmd: build.cmd
62-
63-
# upload test results
6452
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"))
53+
- dotnet build tools\Explicit.NuGet.Versions\Explicit.NuGet.Versions.slnx
54+
- .\tools\Explicit.NuGet.Versions\build\nev.exe ".\build" "castle."
7355

7456
# push packages to NuGet on tag builds
7557
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)