From bd42c9ee6ba998c6ef4e4033cc872c62219ff03d Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Sun, 29 Sep 2019 00:22:44 +0200 Subject: [PATCH] azure: try to run automated tests --- azure-pipelines.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 54db327cd8..fb44c01490 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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: