Skip to content
Permalink
Browse files

Add regression suite as a submodule to MMseqs2

Ensure we always have releases with a corresponding regression commit hash
  • Loading branch information...
milot-mirdita committed Jul 27, 2019
1 parent 76d0773 commit 7e1a8d713de20e4681c4afada7af8c9fd3eb29b6
Showing with 12 additions and 15 deletions.
  1. +3 −0 .gitmodules
  2. +8 −15 azure-pipelines.yml
  3. +1 −0 util/regression
@@ -0,0 +1,3 @@
[submodule "util/regression"]
path = util/regression
url = https://github.com/soedinglab/MMseqs2-Regression.git
@@ -32,6 +32,8 @@ jobs:
pool:
vmImage: 'macOS-10.14'
steps:
- checkout: self
submodules: true
- script: |
brew install cmake gcc@9 zlib bzip2 coreutils
displayName: Install Dependencies
@@ -40,11 +42,7 @@ jobs:
CC=gcc-9 CXX=g++-9 ./util/build_osx.sh . build
displayName: Build MMseqs2
- script: |
git clone https://bitbucket.org/martin_steinegger/mmseqs-benchmark.git ${BUILD_SOURCESDIRECTORY}/benchmark
displayName: Checkout Regression Suite
condition: eq(variables['regression'], 1)
- script: |
${BUILD_SOURCESDIRECTORY}/benchmark/run_regression.sh ${BUILD_SOURCESDIRECTORY}/build/build_sse41/src/mmseqs ${BUILD_SOURCESDIRECTORY}/regression
${BUILD_SOURCESDIRECTORY}/util/regression/run_regression.sh ${BUILD_SOURCESDIRECTORY}/build/build_sse41/src/mmseqs ${BUILD_SOURCESDIRECTORY}/regression
displayName: Run Regression Suite
condition: eq(variables['regression'], 1)
- task: PublishPipelineArtifact@0
@@ -77,6 +75,8 @@ jobs:
MPI: 1

steps:
- checkout: self
submodules: true
- script: |
sudo apt-get update
sudo apt-get -y install mpi-default-dev mpi-default-bin
@@ -98,11 +98,8 @@ jobs:
make -j $(nproc --all)
displayName: Build MMseqs2
- script: |
mkdir ~/regression && cd ~/regression
git clone https://bitbucket.org/martin_steinegger/mmseqs-benchmark.git
export TTY=0
export MMSEQS_NUM_THREADS=$(nproc --all)
./mmseqs-benchmark/run_regression.sh "${BUILD_SOURCESDIRECTORY}/build/src/mmseqs" ~/regression/results/
${BUILD_SOURCESDIRECTORY}/util/regression/run_regression.sh ${BUILD_SOURCESDIRECTORY}/build/build_sse41/src/mmseqs ${BUILD_SOURCESDIRECTORY}/regression
displayName: Run Regression Suite
condition: eq(variables['regression'], 1)
- task: PublishPipelineArtifact@0
@@ -123,6 +120,7 @@ jobs:
- powershell: git config --global core.autocrlf false
displayName: core.autocrlf false
- checkout: self
submodules: true
- script: |
rmdir /s /q C:\Strawberry
displayName: Remove Strawberry Perl (Conflict with Cygwin)
@@ -137,7 +135,6 @@ jobs:
make,^
gcc-core,^
gcc-g++,^
libgomp1,^
zlib-devel,^
libbz2-devel,^
busybox-standalone,^
@@ -162,11 +159,7 @@ jobs:
%BUILD_SOURCESDIRECTORY%\build\mmseqs\mmseqs.bat version
displayName: Setup Busybox
- script: |
git clone https://bitbucket.org/martin_steinegger/mmseqs-benchmark.git %BUILD_SOURCESDIRECTORY%\benchmark
displayName: Checkout Regression Suite
condition: eq(variables['regression'], 1)
- script: |
%CYGWIN_ROOT%\bin\bash.exe -cl "${BUILD_SOURCESDIRECTORY}/benchmark/run_regression.sh $(cygpath ${BUILD_SOURCESDIRECTORY}/build/mmseqs/bin/mmseqs.exe) $(cygpath ${BUILD_SOURCESDIRECTORY}/regression)"
%CYGWIN_ROOT%\bin\bash.exe -cl "${BUILD_SOURCESDIRECTORY}/util/regression/run_regression.sh $(cygpath ${BUILD_SOURCESDIRECTORY}/build/mmseqs/bin/mmseqs.exe) $(cygpath ${BUILD_SOURCESDIRECTORY}/regression)"
displayName: Run Regression Suite
condition: eq(variables['regression'], 1)
Submodule regression added at 22629e

0 comments on commit 7e1a8d7

Please sign in to comment.
You can’t perform that action at this time.