-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
87 lines (71 loc) · 2.22 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: 0.0.0+{build}
skip_tags: true
skip_branch_with_pr: true
build:
verbosity: minimal
test: false
environment:
WHISKEY_DISABLE_ERROR_FORMAT: True
matrix:
# Skip PowerShell Core on Windows until 7.4.1 is installed
# on https://www.appveyor.com/docs/windows-images-software
# Due to https://github.com/PowerShell/PowerShell/issues/20711
# - job_name: PowerShell on Windows
# job_group: pwsh
# appveyor_build_worker_image: Visual Studio 2022
- job_name: PowerShell on macOS
job_group: pwsh
appveyor_build_worker_image: macOS
- job_name: Windows PowerShell 5.1/.NET 4.6.2
job_group: ps
appveyor_build_worker_image: Visual Studio 2013
- job_name: Windows PowerShell 5.1/.NET 4.8
job_group: ps
appveyor_build_worker_image: Visual Studio 2019
- job_name: PowerShell 6 on Windows
job_group: pwsh
appveyor_build_worker_image: Visual Studio 2017
- job_name: PowerShell on Ubuntu
job_group: pwsh
appveyor_build_worker_image: Ubuntu
artifacts:
- path: .output\*
for:
# Build in Windows PowerShell
- matrix:
only:
- job_group: ps
build_script:
- ps: |
$PSVersionTable
$ProgressPreference = 'SilentlyContinue'
$url = 'https://raw.githubusercontent.com/webmd-health-services/Prism/main/Scripts/init.ps1'
$headers = @{ Authentication = "Bearer $($env:GITHUB_ACCESS_TOKEN)" }
Invoke-WebRequest -Uri $url -Headers $headers | Invoke-Expression | Format-Table
try
{
.\build.ps1
}
finally
{
$Global:Error | Format-List * -Force
}
# Build in PowerShell
- matrix:
only:
- job_group: pwsh
build_script:
- pwsh: |
$PSVersionTable
$ProgressPreference = 'SilentlyContinue'
$url = 'https://raw.githubusercontent.com/webmd-health-services/Prism/main/Scripts/init.ps1'
$headers = @{ Authentication = "Bearer $($env:GITHUB_ACCESS_TOKEN)" }
Invoke-WebRequest -Uri $url -Headers $headers | Invoke-Expression | Format-Table
try
{
./build.ps1
}
finally
{
$Global:Error | Format-List * -Force
}