https://github.com/bcgsc/ntCard
Raw File
Tip revision: 0f24d2b65cac1de7426aeffc08bfcd5969d3062b authored by Parham Kazemi on 18 June 2023, 19:08:43 UTC
Update README.md
Tip revision: 0f24d2b
azure-pipelines.yml
jobs:
- job: linux
  pool:
    vmImage: 'ubuntu-latest'
  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
    displayName: Install clang-format
  - script: make clang-format
    displayName: Run clang-format

- job: linux_gcc9
  pool:
    vmImage: 'ubuntu-latest'
  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-9 g++-9 make
    displayName: Install common
  - script: |
      ./autogen.sh
      export DISTCHECK_CONFIGURE_FLAGS="CC=gcc-9 CXX=g++-9"
      ./configure CC=gcc-9 CXX=g++-9
      make distcheck
    displayName: Compiling and testing ntCard with gcc 9
    
- job: linux_clang9
  pool:
    vmImage: 'ubuntu-latest'
  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-9 g++-9 make
    displayName: Install common
  - script: sudo apt-get install -qq clang-9
    displayName: Install clang-9
  - script: |
      ./autogen.sh
      export DISTCHECK_CONFIGURE_FLAGS="CC=clang-9 CXX=clang++-9"
      ./configure CC=clang-9 CXX=clang++-9
      make distcheck
    displayName: Compiling and testing ntCard with clang 9
back to top