mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-11 04:45:57 +03:00
disable macOS over the weekend (#18659)
This commit is contained in:
parent
7bc3744625
commit
8f2e425b0b
14
ci/build.yml
14
ci/build.yml
@ -170,7 +170,7 @@ jobs:
|
||||
dependsOn:
|
||||
- Windows
|
||||
- Linux
|
||||
- macOS
|
||||
#- macOS
|
||||
pool:
|
||||
name: 'ubuntu_20_04'
|
||||
demands: assignment -equals default
|
||||
@ -190,10 +190,10 @@ jobs:
|
||||
inputs:
|
||||
artifactName: platform-independence-dar-windows
|
||||
targetPath: $(Build.StagingDirectory)/platform-independence/windows/
|
||||
- task: DownloadPipelineArtifact@2
|
||||
inputs:
|
||||
artifactName: platform-independence-dar-macos
|
||||
targetPath: $(Build.StagingDirectory)/platform-independence/macos/
|
||||
#- task: DownloadPipelineArtifact@2
|
||||
# inputs:
|
||||
# artifactName: platform-independence-dar-macos
|
||||
# targetPath: $(Build.StagingDirectory)/platform-independence/macos/
|
||||
- bash: |
|
||||
set -euo pipefail
|
||||
eval "$(./dev-env/bin/dade-assist)"
|
||||
@ -206,12 +206,12 @@ jobs:
|
||||
|
||||
unzip -d $DIR1 $(Build.StagingDirectory)/platform-independence/linux-intel/platform-independence.dar
|
||||
unzip -d $DIR2 $(Build.StagingDirectory)/platform-independence/windows/platform-independence.dar
|
||||
unzip -d $DIR3 $(Build.StagingDirectory)/platform-independence/macos/platform-independence.dar
|
||||
#unzip -d $DIR3 $(Build.StagingDirectory)/platform-independence/macos/platform-independence.dar
|
||||
unzip -d $DIR4 $(Build.StagingDirectory)/platform-independence/linux-arm/platform-independence.dar
|
||||
|
||||
# hie/hi files may differ.
|
||||
diff -r --strip-trailing-cr -x '*.hie' -x '*.hi' $DIR1 $DIR2
|
||||
diff -r --strip-trailing-cr -x '*.hie' -x '*.hi' $DIR1 $DIR3
|
||||
#diff -r --strip-trailing-cr -x '*.hie' -x '*.hi' $DIR1 $DIR3
|
||||
diff -r --strip-trailing-cr -x '*.hie' -x '*.hi' $DIR1 $DIR4
|
||||
displayName: 'Compare platform-independence dars of different platforms.'
|
||||
|
||||
|
@ -3,13 +3,13 @@
|
||||
|
||||
pr: none
|
||||
trigger: none
|
||||
schedules:
|
||||
- cron: "0 1 * * *"
|
||||
displayName: Daily split snapshot
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
- main-2.x
|
||||
schedules: none
|
||||
#- cron: "0 1 * * *"
|
||||
# displayName: Daily split snapshot
|
||||
# branches:
|
||||
# include:
|
||||
# - main
|
||||
# - main-2.x
|
||||
|
||||
parameters:
|
||||
- name: version
|
||||
|
@ -15,7 +15,7 @@ jobs:
|
||||
pool:
|
||||
name: macOS-pool
|
||||
demands: assignment -equals ${{parameters.assignment}}
|
||||
condition: and(succeeded(),
|
||||
condition: and(false,succeeded(),
|
||||
or(eq('${{parameters.name}}', 'macos'),
|
||||
or(eq(variables['Build.SourceBranchName'], 'main'),
|
||||
eq(variables['Build.SourceBranchName'], 'main-2.x'))))
|
||||
|
Loading…
Reference in New Issue
Block a user