mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-12 16:29:39 +00:00
run azure tests for macOS, clean up azure-pipelines.yml, remove disabled "Timeout" test case
This commit is contained in:
parent
002ba77d48
commit
6c39d9121f
|
@ -59,7 +59,7 @@ test(Empty.c)
|
||||||
|
|
||||||
test(File.c PROPERTIES PASS_REGULAR_EXPRESSION "OK")
|
test(File.c PROPERTIES PASS_REGULAR_EXPRESSION "OK")
|
||||||
|
|
||||||
test(Timeout.c PROPERTIES PASS_REGULAR_EXPRESSION "One" DISABLED TRUE)
|
#test(Timeout.c PROPERTIES PASS_REGULAR_EXPRESSION "One" DISABLED TRUE)
|
||||||
|
|
||||||
test(Log.c PROPERTIES PASS_REGULAR_EXPRESSION "One\nTwo\nThree")
|
test(Log.c PROPERTIES PASS_REGULAR_EXPRESSION "One\nTwo\nThree")
|
||||||
|
|
||||||
|
|
|
@ -12,22 +12,20 @@ jobs:
|
||||||
- script: |
|
- script: |
|
||||||
/tmp/docker exec -t -u 0 ci-container \
|
/tmp/docker exec -t -u 0 ci-container \
|
||||||
sh -c "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" -y install sudo"
|
sh -c "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" -y install sudo"
|
||||||
displayName: set up sudo
|
displayName: Set up sudo
|
||||||
- checkout: self
|
- checkout: self
|
||||||
submodules: true
|
submodules: true
|
||||||
- script: |
|
- script: |
|
||||||
whoami
|
|
||||||
pwd
|
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
cmake libgmp-dev libmpfr-dev libmpc-dev \
|
cmake libgmp-dev libmpfr-dev libmpc-dev \
|
||||||
libboost-all-dev bison texinfo \
|
libboost-all-dev bison texinfo \
|
||||||
ruby flex curl
|
ruby flex curl
|
||||||
displayName: 'install prerequisites'
|
displayName: 'Install prerequisites'
|
||||||
- script: |
|
- script: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
../build-toolchain.bash --no-carbon
|
../build-toolchain.bash --no-carbon
|
||||||
displayName: 'build'
|
displayName: 'Build'
|
||||||
- script: |
|
- script: |
|
||||||
cd build
|
cd build
|
||||||
curl -L -O https://github.com/autc04/executor/releases/download/v0.1.0/Executor2000-0.1.0-Linux.tar.bz2
|
curl -L -O https://github.com/autc04/executor/releases/download/v0.1.0/Executor2000-0.1.0-Linux.tar.bz2
|
||||||
|
@ -35,6 +33,7 @@ jobs:
|
||||||
echo "executor-path=`pwd`/Executor2000-0.1.0-Linux/bin/executor-headless" > ~/.LaunchAPPL.cfg
|
echo "executor-path=`pwd`/Executor2000-0.1.0-Linux/bin/executor-headless" > ~/.LaunchAPPL.cfg
|
||||||
echo "emulator=executor" >> ~/.LaunchAPPL.cfg
|
echo "emulator=executor" >> ~/.LaunchAPPL.cfg
|
||||||
ctest --no-compress-output -T test || true
|
ctest --no-compress-output -T test || true
|
||||||
|
displayName: Run Tests using Executor 2000
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
inputs:
|
inputs:
|
||||||
testResultsFormat: 'CTest'
|
testResultsFormat: 'CTest'
|
||||||
|
@ -49,9 +48,22 @@ jobs:
|
||||||
submodules: true
|
submodules: true
|
||||||
- script: |
|
- script: |
|
||||||
brew install boost cmake gmp mpfr libmpc bison
|
brew install boost cmake gmp mpfr libmpc bison
|
||||||
displayName: 'brew prerequisites'
|
displayName: 'Brew prerequisites'
|
||||||
- script: |
|
- script: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
../build-toolchain.bash --no-carbon
|
../build-toolchain.bash --no-carbon
|
||||||
displayName: build
|
displayName: Build
|
||||||
|
- script: |
|
||||||
|
cd build
|
||||||
|
curl -L -O https://github.com/autc04/executor/releases/download/v0.1.0/Executor2000-0.1.0-Darwin.tar.bz2
|
||||||
|
tar xfvj Executor2000-0.1.0-Darwin.tar.bz2 Executor2000-0.1.0-Darwin/bin/executor-headless
|
||||||
|
echo "executor-path=`pwd`/Executor2000-0.1.0-Darwin/bin/executor-headless" > ~/.LaunchAPPL.cfg
|
||||||
|
echo "emulator=executor" >> ~/.LaunchAPPL.cfg
|
||||||
|
ctest --no-compress-output -T test || true
|
||||||
|
displayName: Run Tests using Executor 2000
|
||||||
|
- task: PublishTestResults@2
|
||||||
|
inputs:
|
||||||
|
testResultsFormat: 'CTest'
|
||||||
|
testResultsFiles: build/Testing/**/*.xml
|
||||||
|
buildPlatform: 'x86_64-macos'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user