Skip to content

Commit

Permalink
Get code coverage on "intrinsic-build" (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfoidl committed Mar 20, 2020
1 parent 921a707 commit db80f02
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .azure/pipelines/jobs/build_and_test_intrinsics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,29 @@ jobs:
./build.sh test
displayName: test
- bash: |
export PATH="$(pwd)/dotnet:$PATH"
echo 'installed sdks:'
dotnet --list-sdks
echo "-------------------------------------------------"
dotnet tool install -g coverlet.console
# Workaround
# https://github.com/Microsoft/azure-pipelines-tasks/issues/8291#issuecomment-441707116
export PATH="$PATH:$HOME/.dotnet/tools"
if [[ "$COMPLUS_ENABLEAVX" == "0" ]]; then
export COMPlus_EnableAVX=0
fi
if [[ "$COMPLUS_ENABLESSE" == "0" ]]; then
export COMPlus_EnableSSE=0
fi
./build.sh coverage
displayName: code coverage
condition: and(succeeded(), variables['CODECOV_TOKEN'], ne(variables['Agent.OS'], 'Darwin'))
- task: PublishTestResults@2
inputs:
testRunner: VSTest
Expand Down

0 comments on commit db80f02

Please sign in to comment.