-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add official build yml and public build yml
- Loading branch information
1 parent
e902a7f
commit 037002a
Showing
5 changed files
with
149 additions
and
236 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
schedules: | ||
- cron: "30 22 * * 2" | ||
displayName: Nightly Build | ||
branches: | ||
include: | ||
- master | ||
always: true | ||
|
||
trigger: | ||
batch: true | ||
branches: | ||
include: | ||
- master | ||
- releases/* | ||
|
||
pr: none | ||
|
||
resources: | ||
repositories: | ||
- repository: 1es | ||
type: git | ||
name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
ref: refs/tags/release | ||
- repository: eng | ||
type: git | ||
name: engineering | ||
ref: refs/tags/release | ||
|
||
variables: | ||
- template: ci/variables/build.yml@eng | ||
- template: ci/variables/cfs.yml@eng | ||
|
||
extends: | ||
template: v1/1ES.Official.PipelineTemplate.yml@1es | ||
parameters: | ||
pool: | ||
name: 1es-pool-azfunc | ||
image: 1es-windows-2022 | ||
os: windows | ||
|
||
sdl: | ||
codeql: | ||
runSourceLanguagesInSourceAnalysis: true | ||
|
||
stages: | ||
- stage: Build | ||
|
||
jobs: | ||
- template: /eng/ci/templates/jobs/build.yml@self |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
schedules: | ||
- cron: "30 22 * * 2" | ||
displayName: Nightly Build | ||
branches: | ||
include: | ||
- master | ||
always: true | ||
|
||
trigger: | ||
batch: true | ||
branches: | ||
include: | ||
- master | ||
|
||
pr: | ||
branches: | ||
include: | ||
- master | ||
|
||
resources: | ||
repositories: | ||
- repository: 1es | ||
type: git | ||
name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
ref: refs/tags/release | ||
|
||
extends: | ||
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es | ||
parameters: | ||
pool: | ||
name: 1es-pool-azfunc-public | ||
image: 1es-windows-2022 | ||
os: windows | ||
|
||
sdl: | ||
codeql: | ||
compiled: | ||
enabled: true | ||
runSourceLanguagesInSourceAnalysis: true | ||
|
||
stages: | ||
- stage: Build | ||
|
||
jobs: | ||
- template: /eng/ci/templates/jobs/build.yml@self | ||
parameters: | ||
pool: '1es-pool-azfunc-public' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
parameters: | ||
- name: pool | ||
type: string | ||
default: '1es-pool-azfunc' | ||
|
||
jobs: | ||
- job: Build | ||
displayName: 'Build' | ||
|
||
pool: | ||
name: ${{ parameters.pool }} | ||
image: 1es-ubuntu-22.04 | ||
os: linux | ||
|
||
variables: | ||
NODE_VERSION: '20.x' | ||
|
||
steps: | ||
- checkout: self | ||
|
||
- task: UseNode@1 | ||
inputs: | ||
version: ${{ variables.NODE_VERSION }} | ||
displayName: 'Setup Node' | ||
|
||
- task: Npm@1 | ||
inputs: | ||
command: 'install' | ||
displayName: 'Install dependencies' | ||
|
||
- task: Npm@1 | ||
inputs: | ||
command: 'custom' | ||
customCommand: 'run build' | ||
displayName: 'Build' | ||
|
||
- bash: | | ||
cd ./tests/e2e/java8 | ||
mvn clean package | ||
mvn azure-functions:package | ||
displayName: 'Build project for java language' | ||
- task: UseDotNet@2 | ||
displayName: 'Use .NET Core sdk' | ||
inputs: | ||
packageType: sdk | ||
version: 3.1.x | ||
|
||
- pwsh: | | ||
cd ./tests/e2e/dotnet3 | ||
dotnet --version | ||
dotnet build | ||
displayName: 'Build project for csharp language' |