azure: try to run automated tests

This commit is contained in:
Wolfgang Thaller 2019-09-29 00:22:44 +02:00
parent 5c2a845f60
commit bd42c9ee6b

View File

@ -28,6 +28,18 @@ jobs:
cd build
../build-toolchain.bash --no-carbon
displayName: 'build'
- script: |
cd build
curl -O https://github.com/autc04/executor/releases/download/v0.1.0/Executor2000-0.1.0-Linux.tar.bz2
tar xfvj Executor2000-0.1.0-Linux.tar.bz2 Executor2000-0.1.0-Linux/bin/executor-headless
echo "executor-path=`pwd`/Executor2000-0.1.0-Linux/bin/executor-headless" > ~/.LaunchAPPL.cfg
echo "emulator=executor" >> ~/.LaunchAPPL.cfg
ctest --no-compress-output -T test || true
- task: PublishTestResults@2
inputs:
testResultsFormat: 'CTest'
testResultsFiles: build/Testing/**/*.xml
buildPlatform: 'x86_64-linux'
- job: macOS
pool: