run tests and benchmarks

This commit is contained in:
Pigeons 2016-12-22 21:52:28 -08:00
parent 2f81272c3c
commit 2c7928ebbb

View file

@ -213,17 +213,22 @@ kovriAllFactory = util.BuildFactory()
kovriAllFactory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True))
kovriAllFactory.addStep(steps.Compile(command=["make", "all-options"]))
kovriAllFactory.addStep(steps.Compile(name="compile tests", command=["make", "tests"]))
kovriAllFactory.addStep(steps.Test(command=["./build/kovri-tests"]))
kovriAllFactory.addStep(steps.Test(name="benchmark", command=["./build/kovri-benchmarks"]))
kovriArmFactory = util.BuildFactory()
kovriArmFactory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True))
kovriArmFactory.addStep(steps.Compile(command=["make", "all-options"], env={'CC': 'clang35', 'CXX': 'clang++35'}))
kovriArmFactory.addStep(steps.Compile(name="compile tests", command=["make", "tests"], env={'CC': 'clang35', 'CXX': 'clang++35'}))
kovriArmFactory.addStep(steps.Test(command=["./build/kovri-tests"]))
kovriArmFactory.addStep(steps.Test(name="benchmark", command=["./build/kovri-benchmarks"]))
kovriUbuntu64Factory = util.BuildFactory()
kovriUbuntu64Factory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True))
kovriUbuntu64Factory.addStep(steps.Compile(command=["make", "coverage"]))
kovriUbuntu64Factory.addStep(steps.Compile(name="compile tests", command=["make", "coverage-tests"]))
kovriUbuntu64Factory.addStep(steps.Test(command=["./build/kovri-tests"]))
kovriUbuntu64Factory.addStep(steps.Test(name="benchmark", command=["./build/kovri-benchmarks"]))
addCoverallsUploadSteps(kovriUbuntu64Factory,repo_token=secrets['coveralls_token'])
kovriFreebsdFactory = util.BuildFactory()
@ -231,18 +236,21 @@ kovriFreebsdFactory.addStep(steps.Git(repourl='https://github.com/monero-project
kovriFreebsdFactory.addStep(steps.Compile(command=["gmake", "all-options"], env={'CC': 'clang36', 'CXX': 'clang++36'}))
kovriFreebsdFactory.addStep(steps.Compile(name="compile tests", command=["gmake", "tests"], env={'CC': 'clang36', 'CXX': 'clang++36'}))
kovriFreebsdFactory.addStep(steps.Test(command=["./build/kovri-tests"]))
kovriFreebsdFactory.addStep(steps.Test(name="benchmark", command=["./build/kovri-benchmarks"]))
kovriMingw32Factory = util.BuildFactory()
kovriMingw32Factory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True))
kovriMingw32Factory.addStep(steps.Compile(command=["/msys32/usr/bin/bash.exe","-c", "make", "all-options"],env={'MSYSTEM': "MINGW32"}))
kovriMingw32Factory.addStep(steps.Compile(name="compile tests", command=["make", "tests"]))
kovriMingw32Factory.addStep(steps.Test(command=["kovri-tests.exe"], workdir="build/build"))
kovriMingw32Factory.addStep(steps.Test(name="banchmark", command=["kovri-benchmarks.exe"], workdir="build/build"))
kovriMingw64Factory = util.BuildFactory()
kovriMingw64Factory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True))
kovriMingw64Factory.addStep(steps.Compile(command=["make", "all-options"],env={'MSYSTEM': "MINGW64"}))
kovriMingw64Factory.addStep(steps.Compile(name="compile tests", command=["make", "tests"]))
kovriMingw64Factory.addStep(steps.Test(command=["kovri-tests.exe"], workdir="build/build"))
kovriMingw64Factory.addStep(steps.Test(name="banchmark", command=["kovri-benchmarks.exe"], workdir="build/build"))
coreUbuntu64Factory = util.BuildFactory()
coreUbuntu64Factory.addStep(steps.Git(repourl='https://github.com/monero-project/monero-core.git', mode='full'))