mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-13 22:34:31 +03:00
e40aad897f
* move most files * update CI configuration
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
# Copyright (c) 2024 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
parameters:
|
|
- name: test_flags
|
|
type: string
|
|
default: ''
|
|
|
|
steps:
|
|
- bash: ci/configure-bazel.sh
|
|
displayName: 'Configure Bazel for root workspace'
|
|
env:
|
|
IS_FORK: $(System.PullRequest.IsFork)
|
|
# to upload to the bazel cache
|
|
GOOGLE_APPLICATION_CREDENTIALS_CONTENT: $(GOOGLE_APPLICATION_CREDENTIALS_CONTENT)
|
|
- bash: ci/configure-bazel.sh
|
|
displayName: 'Configure Bazel for compatibility workspace'
|
|
env:
|
|
BAZEL_CONFIG_DIR: compatibility
|
|
IS_FORK: $(System.PullRequest.IsFork)
|
|
# to upload to the bazel cache
|
|
GOOGLE_APPLICATION_CREDENTIALS_CONTENT: $(GOOGLE_APPLICATION_CREDENTIALS_CONTENT)
|
|
- task: DownloadPipelineArtifact@0
|
|
inputs:
|
|
artifactName: 'typescript-libs'
|
|
targetPath: $(Build.SourcesDirectory)/sdk/compatibility/head_sdk
|
|
- powershell: '.\sdk\compatibility\build-release-artifacts-windows.ps1'
|
|
displayName: 'Build release artifacts'
|
|
- powershell: '.\sdk\compatibility\test-windows.ps1 ${{ parameters.test_flags }}'
|
|
displayName: 'Run tests'
|