https://github.com/bcgsc/ntCard
Tip revision: 9433d03872380c13bb131abf1e388e94862a4f15 authored by vlad0x00 on 05 January 2022, 21:31:33 UTC
Update formatting
Update formatting
Tip revision: 9433d03
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