File: azure-pipelines.yml

package info (click to toggle)
csound 1%3A6.18.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 63,220 kB
  • sloc: ansic: 192,643; cpp: 14,149; javascript: 9,654; objc: 9,181; python: 3,376; java: 3,337; sh: 1,840; yacc: 1,255; xml: 985; perl: 635; lisp: 411; tcl: 341; lex: 217; makefile: 128
file content (75 lines) | stat: -rw-r--r-- 2,511 bytes parent folder | download | duplicates (3)
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

# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- develop

pool:
  vmImage: 'ubuntu-latest'

variables:
  emscripten_container_name : 'csound_emscripten_build_run'
  emscripten_zip_path : '/csound/Emscripten/' 
  emscripten_artifact : 'Csound6.13.0-Web.zip'
  emscripten_docker_image: 'sjamble/csound_emscripten'
  android_container_name : 'csound_android_build_run'
  android_zip_path : '/csound/Android/' 
  android_artifact : 'Csound6.13.0-Android.zip'
  android_docker_image: 'sjamble/csound_android'
  
jobs:
  - job: "Emscripten_Build"
    steps:
    - script: |
        sudo apt-get install docker -y
      displayName: Setting up docker cli

    - script: |
        sudo docker run --name $(emscripten_container_name) -i $(emscripten_docker_image)
      displayName: Building the Csound emscripten build

    - script: |
        sudo docker cp $(emscripten_container_name):$(emscripten_zip_path)$(emscripten_artifact) $(System.DefaultWorkingDirectory)/
      displayName: Extracting web build file from docker image

    - task: PublishPipelineArtifact@1
      inputs:
        path: $(System.DefaultWorkingDirectory)/$(emscripten_artifact)
        artifact: Csound6.13.0-WEB

  - job: Android_Build
    steps:
    - script: |
        sudo apt-get install docker -y
      displayName: Setting up docker cli

    - script: |
        sudo docker run --name $(android_container_name) -i $(android_docker_image)
      displayName: Building the Csound Android build

    - script: |
        sudo docker cp $(android_container_name):$(android_zip_path)$(android_artifact) $(System.DefaultWorkingDirectory)/
      displayName: Extracting android build file from docker image

    - task: PublishPipelineArtifact@1
      inputs:
        path: $(System.DefaultWorkingDirectory)/$(android_artifact)
        artifact: Csound6.13.0-ANDROID

  - job: macOS
    pool:
      vmImage: 'macos-10.13'
      xcodeVersion: '9.4.1'
    steps:
    - bash: cd $AGENT_BUILDDIRECTORY/s/installer/macosx;chmod 777 release-build-azure.sh;./release-build-azure.sh develop
      env:
        COREHOST_TRACE: 0
        DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
        DOTNET_CLI_TELEMETRY_OPTOUT: 1
    - task: PublishBuildArtifacts@1
      inputs:
        pathtoPublish: '$(Build.ArtifactStagingDirectory)'
        # artifactName: '$AGENT_BUILDDIRECTORY/s/csoundBuildDir/CsoundOSXBinaries.zip'