Skip to content

Commit acc8c40

Browse files
committed
Add Ubuntu to the appVeyor build matrix
1 parent 0a2061a commit acc8c40

File tree

2 files changed

+59
-42
lines changed

2 files changed

+59
-42
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
![Azure Functions Logo](https://raw.githubusercontent.com/Azure/azure-functions-cli/master/src/Azure.Functions.Cli/npm/assets/azure-functions-logo-color-raster.png)
22

3-
|Branch|Windows|Linux|
4-
|---|---|---|
5-
|master|[![Build status](https://ci.appveyor.com/api/projects/status/a6j46j1tawdfs3js?svg=true&branch=master)](https://ci.appveyor.com/project/appsvc/azure-webjobs-sdk-script-y8o14?branch=master)|[![Build status](https://ci.appveyor.com/api/projects/status/03j5j88yk9489y33/branch/master?svg=true)](https://ci.appveyor.com/project/appsvc/azure-functions-host-l70a7/branch/master)|
6-
|dev|[![Build status](https://ci.appveyor.com/api/projects/status/a6j46j1tawdfs3js?svg=true&branch=dev)](https://ci.appveyor.com/project/appsvc/azure-webjobs-sdk-script-y8o14?branch=dev)|[![Build status](https://ci.appveyor.com/api/projects/status/03j5j88yk9489y33/branch/dev?svg=true)](https://ci.appveyor.com/project/appsvc/azure-functions-host-l70a7/branch/dev)|
7-
|v1.x|[![Build status](https://ci.appveyor.com/api/projects/status/a6j46j1tawdfs3js?svg=true&branch=v1.x)](https://ci.appveyor.com/project/appsvc/azure-webjobs-sdk-script-y8o14?branch=v1.x)| `NA` |
3+
|Branch|Status|
4+
|---|---|
5+
|master|[![Build status](https://ci.appveyor.com/api/projects/status/a6j46j1tawdfs3js?svg=true&branch=master)](https://ci.appveyor.com/project/appsvc/azure-webjobs-sdk-script-y8o14?branch=master)|
6+
|dev|[![Build status](https://ci.appveyor.com/api/projects/status/a6j46j1tawdfs3js?svg=true&branch=dev)](https://ci.appveyor.com/project/appsvc/azure-webjobs-sdk-script-y8o14?branch=dev)|
7+
|v1.x|[![Build status](https://ci.appveyor.com/api/projects/status/a6j46j1tawdfs3js?svg=true&branch=v1.x)](https://ci.appveyor.com/project/appsvc/azure-webjobs-sdk-script-y8o14?branch=v1.x)|
88

99
WebJobs.Script
1010
===
1111

1212
This repo contains libraries that enable a **light-weight scripting model** for the [Azure WebJobs SDK](http://github.com/Azure/azure-webjobs-sdk). You simply provide job function **scripts** written in various languages (e.g. Javascript/[Node.js](http://nodejs.org), C#, Python, F#, PowerShell, PHP, CMD, BAT, BASH scripts, etc.) along with a simple **function.json** metadata file that indicates how those functions should be invoked, and the scripting library does the work necessary to plug those scripts into the [Azure WebJobs SDK](https://github.com/Azure/azure-webjobs-sdk) runtime.
1313

14-
These libraries are the runtime used by [Azure Functions](https://azure.microsoft.com/en-us/services/functions/). The runtime builds upon the tried and true [Azure WebJobs SDK](https://github.com/Azure/azure-webjobs-sdk) - this library just layers on top to allow you to "**script the WebJobs SDK**". So you get the full benefits and the power of the WebJobs SDK, including the [WebJobs Dashboard](http://azure.microsoft.com/en-us/documentation/videos/azure-webjobs-dashboard-site-extension/).
14+
These libraries are the runtime used by [Azure Functions](https://azure.microsoft.com/en-us/services/functions/). The runtime builds upon the tried and true [Azure WebJobs SDK](https://github.com/Azure/azure-webjobs-sdk) - this library just layers on top to allow you to "**script the WebJobs SDK**". So you get the full benefits and the power of the WebJobs SDK, including the [WebJobs Dashboard](http://azure.microsoft.com/en-us/documentation/videos/azure-webjobs-dashboard-site-extension/).
1515

1616
**An important note on language support levels** - while many languages are supported, their level of support differs in important ways, making some languages more suitable than others for certain workloads. The **first class** languages are C#, F# and Javascript/Node.js. Functions written in these languages are run **in process** and are suitable for any workload. The remaining languages are considered **experimental**. Functions written in these languages are scripts that are run **out of process**. While there are many scenarios where this is acceptable, it won't be acceptable for high load scenarios where the overhead of a new process for each invocation won't scale.
1717

appveyor.yml

Lines changed: 53 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,71 @@
11
version: 2.0.{build}
2-
init:
3-
- ps: |
4-
if ($env:FUNCTIONS_NIGHTLY -eq "1") {
5-
$version = Get-Date -Format "yyyyMMdd-HHmm"
6-
Update-AppveyorBuild -Version $version -Message "Functions Scheduled Build"
7-
}
82
pull_requests:
93
do_not_increment_build_number: true
104
branches:
115
only:
126
- dev
137
- master
148
- core
15-
image: Visual Studio 2017
16-
max_jobs: 1
17-
clone_folder: c:\azure-webjobs-sdk-script
18-
install:
19-
- ps: >-
20-
$env:CommitHash = "$env:APPVEYOR_REPO_COMMIT"
21-
22-
Install-Product node 8.4.0 x86
23-
build_script:
24-
- ps: |
25-
$hasTag = Test-Path env:APPVEYOR_REPO_TAG_NAME
26-
.\build.ps1 -buildNumber "$env:APPVEYOR_BUILD_NUMBER" -includeVersion (!$hasTag)
27-
after_build:
28-
- ps: >
29-
Get-ChildItem buildoutput\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName "Binaries" }
309

31-
Get-ChildItem buildoutput\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName "Runtime" }
32-
test_script:
33-
- ps: >
34-
$success = $true
10+
image:
11+
- Visual Studio 2017
12+
- Ubuntu
3513

36-
# dotnet test .\test\WebJobs.Script.Scaling.Tests\ -v q --no-build -p:ParallelizeTestCollections=false
14+
for:
15+
-
16+
matrix:
17+
only:
18+
- image: Ubuntu
19+
build_script:
20+
- sh: dotnet build WebJobs.Script.sln
21+
test: off
3722

38-
# dotnet test .\test\WebJobs.Script.Tests\ -v q --no-build -p:ParallelizeTestCollections=false
23+
-
24+
matrix:
25+
only:
26+
- image: Visual Studio 2017
27+
init:
28+
- ps: |
29+
if ($env:FUNCTIONS_NIGHTLY -eq "1") {
30+
$version = Get-Date -Format "yyyyMMdd-HHmm"
31+
Update-AppveyorBuild -Version $version -Message "Functions Scheduled Build"
32+
}
33+
max_jobs: 1
34+
clone_folder: c:\azure-webjobs-sdk-script
35+
install:
36+
- ps: >-
37+
$env:CommitHash = "$env:APPVEYOR_REPO_COMMIT"
3938
40-
# see results in app insights AntaresDemo 'functionse2eai'
39+
Install-Product node 8.4.0 x86
40+
build_script:
41+
- ps: |
42+
$hasTag = Test-Path env:APPVEYOR_REPO_TAG_NAME
43+
.\build.ps1 -buildNumber "$env:APPVEYOR_BUILD_NUMBER" -includeVersion (!$hasTag)
44+
after_build:
45+
- ps: >
46+
Get-ChildItem buildoutput\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName "Binaries" }
4147
42-
dotnet test .\test\WebJobs.Script.Tests -v q --no-build
48+
Get-ChildItem buildoutput\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName "Runtime" }
49+
test_script:
50+
- ps: >
51+
$success = $true
4352
44-
$success = $success -and $?
53+
# dotnet test .\test\WebJobs.Script.Scaling.Tests\ -v q --no-build -p:ParallelizeTestCollections=false
4554
46-
dotnet test .\test\WebJobs.Script.Scaling.Tests -v q --no-build
55+
# dotnet test .\test\WebJobs.Script.Tests\ -v q --no-build -p:ParallelizeTestCollections=false
4756
48-
$success = $success -and $?
57+
# see results in app insights AntaresDemo 'functionse2eai'
4958
50-
dotnet test .\test\WebJobs.Script.Tests.Integration\ -v q --no-build
51-
52-
$success = $success -and $?
59+
dotnet test .\test\WebJobs.Script.Tests -v q --no-build
5360
54-
if (-not $success) { exit 1 }
61+
$success = $success -and $?
62+
63+
dotnet test .\test\WebJobs.Script.Scaling.Tests -v q --no-build
64+
65+
$success = $success -and $?
66+
67+
dotnet test .\test\WebJobs.Script.Tests.Integration\ -v q --no-build
68+
69+
$success = $success -and $?
70+
71+
if (-not $success) { exit 1 }

0 commit comments

Comments
 (0)