Skip to content

Commit

Permalink
Add .artifactignore file
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-lee-msft committed Dec 13, 2021
1 parent 5b03aac commit d8f7ce6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .artifactignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Do not try to upload git submodules when publishing ADO artifacts

**/SymCryptDependencies/
**/jitterentropy-library/
5 changes: 4 additions & 1 deletion azure-build-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,12 @@ steps:
workingDirectory: '$(Build.SourcesDirectory)/bin'
cmakeArgs: '--build . -j'
# Increase ulimit to enable core dump in case of a test crash
# Place .artifactignore file so it is used in the publish $(Agent.WorkFolder) task on failure
# This prevents failure to upload due to apparent infinite recursion in jitterentropy-library submodule
- script: |
ulimit -c unlimited
displayName: 'Enable core dumps'
cp $(Build.SourcesDirectory)/.artifactignore $(Agent.WorkFolder)
displayName: 'Enable core dumps & Place .artifactignore file'
- ${{ if ne(parameters.env, 'Generic') }}:
# Execute module and unit test using the inline script
- ${{ if eq(parameters.emulator, 'native') }}:
Expand Down

0 comments on commit d8f7ce6

Please sign in to comment.