|
| 1 | +trigger: |
| 2 | +- main |
| 3 | +- codeql-pipeline #TODO REMOVE |
| 4 | + |
| 5 | +variables: |
| 6 | +- name: BUILD_DIR |
| 7 | + value: xa-build |
| 8 | +- name: Codeql.Enabled |
| 9 | + value: true |
| 10 | + |
| 11 | +jobs: |
| 12 | +- job: build_llvm_linux |
| 13 | + displayName: Build Linux LLVM |
| 14 | + timeoutInMinutes: 180 |
| 15 | + pool: |
| 16 | + vmImage: ubuntu-latest |
| 17 | + steps: |
| 18 | + - checkout: self |
| 19 | + submodules: recursive |
| 20 | + |
| 21 | + - script: | |
| 22 | + sudo apt-get update |
| 23 | + sudo apt-get -f -u install cmake ninja-build chrpath texinfo sharutils libffi-dev lsb-release patchutils diffstat xz-utils python3-dev libedit-dev libncurses5-dev swig python3-six python3-sphinx binutils-dev libxml2-dev libjsoncpp-dev pkg-config lcov procps help2man zlib1g-dev g++-multilib libjs-mathjax python3-recommonmark libpfm4-dev python3-setuptools libz3-dev ccache |
| 24 | + displayName: Install LLVM build dependencies |
| 25 | +
|
| 26 | + - script: ./build-llvm.sh |
| 27 | + env: |
| 28 | + CC: gcc-10 |
| 29 | + CXX: g++-10 |
| 30 | + displayName: Build LLVM |
| 31 | + |
| 32 | +- job: build_xautils_linux |
| 33 | + displayName: build Linux and Windows Xamarin.Android Utilities |
| 34 | + timeoutInMinutes: 180 |
| 35 | + pool: |
| 36 | + vmImage: ubuntu-latest |
| 37 | + steps: |
| 38 | + - checkout: self |
| 39 | + submodules: recursive |
| 40 | + |
| 41 | + - script: | |
| 42 | + sudo apt-get update |
| 43 | + sudo apt-get -f -u install mingw-w64 cmake ninja-build xz-utils zlib1g-dev libz-mingw-w64-dev |
| 44 | + displayName: Install Xamarin.Android Utilities build dependencies |
| 45 | +
|
| 46 | + - script: ./build-xa-utils.sh |
| 47 | + env: |
| 48 | + CC: gcc-10 |
| 49 | + CXX: g++-10 |
| 50 | + displayName: Build utilities |
| 51 | + |
| 52 | +- job: build_llvm_macos |
| 53 | + displayName: Build macOS LLVM |
| 54 | + timeoutInMinutes: 180 |
| 55 | + pool: |
| 56 | + vmImage: macOS-latest |
| 57 | + steps: |
| 58 | + - checkout: self |
| 59 | + submodules: recursive |
| 60 | + |
| 61 | + - script: | |
| 62 | + brew update |
| 63 | + brew install cmake ninja ccache |
| 64 | + displayName: Install LLVM build dependencies |
| 65 | +
|
| 66 | + - script: bash ./build-llvm.sh |
| 67 | + displayName: build LLVM |
| 68 | + |
| 69 | +- job: build_xautils_macos |
| 70 | + displayName: Build macOS Xamarin.Android Utilities |
| 71 | + timeoutInMinutes: 180 |
| 72 | + pool: |
| 73 | + vmImage: macOS-latest |
| 74 | + steps: |
| 75 | + - checkout: self |
| 76 | + submodules: recursive |
| 77 | + |
| 78 | + - script: | |
| 79 | + brew update |
| 80 | + brew install make cmake xz ninja |
| 81 | + displayName: Install Xamarin.Android Utilities build dependencies |
| 82 | +
|
| 83 | + - script: bash ./build-xa-utils.sh |
| 84 | + displayName: Build utilities |
| 85 | + |
| 86 | +- job: build_windows |
| 87 | + displayName: Build Windows |
| 88 | + timeoutInMinutes: 180 |
| 89 | + pool: |
| 90 | + vmImage: windows-latest |
| 91 | + steps: |
| 92 | + - checkout: self |
| 93 | + submodules: recursive |
| 94 | + |
| 95 | + - script: ./build-llvm-azure.cmd |
| 96 | + displayName: Build Windows LLVM |
0 commit comments