From 2d5de12b5d9cd521ce424523ba1e8f38dd974b89 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Wed, 31 Oct 2018 21:39:25 +0200 Subject: Tests for Linux - Fixed test results upload --- appveyor.yml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index 2f976fb..7071891 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,12 +1,12 @@ version: '{build}' -os: Visual Studio 2015 +image: + - Visual Studio 2015 + - Ubuntu environment: matrix: - - compiler: msvc-15-seh - generator: "Visual Studio 15 2017 Win64" - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + - enabled_on_pr: yes configuration: @@ -17,6 +17,19 @@ build: project: JSImpl/solution/JSImpl.sln verbosity: minimal +for: +- + matrix: + only: + - image: Ubuntu + build_script: + - make -C $APPVEYOR_BUILD_FOLDER/JSImpl/solution -j config=`echo ${CONFIGURATION} | sed -e 'y/DR/dr/'`64 + test_script: + - '$APPVEYOR_BUILD_FOLDER/JSImpl/build/bin/$CONFIGURATION/Test' + after_test: + - curl -F "file=@$APPVEYOR_BUILD_FOLDER/test_detail.xml" "https://ci.appveyor.com/api/testresults/junit/$APPVEYOR_JOB_ID" + + before_test: - appveyor AddMessage "Running Tests" - appveyor SetVariable -Name "GTEST_OUTPUT" -Value "xml" @@ -25,7 +38,7 @@ test_script: - '%APPVEYOR_BUILD_FOLDER%/JSImpl/build/bin/%CONFIGURATION%/Test.exe' after_test: - - curl -F 'file=test_detail.xml' "https://ci.appveyor.com/api/testresults/junit/%APPVEYOR_JOB_ID%" + - curl -F "file=@%APPVEYOR_BUILD_FOLDER%/test_detail.xml" https://ci.appveyor.com/api/testresults/junit/%APPVEYOR_JOB_ID% clone_depth: 1 -- cgit v1.3.1-26-gb76a From 802eb1881ed1cf01c6b64f2af843f73aafc65ac4 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Thu, 1 Nov 2018 07:18:22 +0200 Subject: Enabled parallel msbuild --- appveyor.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index 7071891..87783ea 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,6 +16,7 @@ configuration: build: project: JSImpl/solution/JSImpl.sln verbosity: minimal + parallel: true for: - @@ -33,6 +34,8 @@ for: before_test: - appveyor AddMessage "Running Tests" - appveyor SetVariable -Name "GTEST_OUTPUT" -Value "xml" + - echo Running tests for %APPVEYOR_JOB_ID% + - sh: echo Running tests for $APPVEYOR_JOB_ID test_script: - '%APPVEYOR_BUILD_FOLDER%/JSImpl/build/bin/%CONFIGURATION%/Test.exe' -- cgit v1.3.1-26-gb76a