https://github.com/bcgsc/ntCard
Raw File
Tip revision: e9ed2ce0dd1382301e3c8f6c5855e0af8bcb61a0 authored by Johnathan Wong on 25 January 2020, 00:11:36 UTC
azure: CI on macOS
Tip revision: e9ed2ce
azure-pipelines.yml
jobs:
- job: linux
  pool:
    vmImage: Ubuntu 16.04
  steps:
  - script: |
      sudo apt-get update -qq
      sudo apt-get install -qq software-properties-common
      sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
      sudo apt-get update -qq
      sudo apt-get install -qq autoconf automake gcc g++ make
    displayName: Install common
  - script: |
      ./autogen.sh
      ./configure
      make distcheck
    displayName: Compiling and testing ntCard
  - script: |
      curl https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
      sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main"
      sudo apt-get update
      sudo apt-get install -y --no-install-recommends clang-format-7
      sudo ln -s clang-format-7 /usr/bin/clang-format
    displayName: Install clang-format
  - script: make clang-format
    displayName: Run clang-format

- job: macOS_default_gcc
  pool:
    vmImage: macOS-10.14
  steps:
  - script: |
      brew update
      brew install automake
    displayName: Install common
  - script: |
      ./autogen.sh
      ./configure
      make distcheck
    displayName: Compiling ntCard with default gcc
back to top