mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-19 16:57:40 +03:00
ci: rerun m1 three times (#17089)
The m1 build is extra flaky, maybe running it multiple times will help.
This commit is contained in:
parent
f6a78df1c8
commit
fbe4d0de1f
@ -32,7 +32,14 @@ steps:
|
||||
displayName: 'Platform-agnostic lints and checks'
|
||||
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
|
||||
|
||||
- bash: ./build.sh "_${{parameters.name}}"
|
||||
- bash: |
|
||||
set -euo pipefail
|
||||
p="_${{parameters.name}}"
|
||||
if [ "$p" == "_m1" ]; then
|
||||
./build.sh $p || ./build.sh $p || ./build.sh $p || ./build.sh $p
|
||||
else
|
||||
./build.sh $p
|
||||
fi
|
||||
displayName: 'Build'
|
||||
env:
|
||||
DAML_SDK_RELEASE_VERSION: ${{parameters.release_tag}}
|
||||
|
Loading…
Reference in New Issue
Block a user