mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Due to the instability of atom's package api, we have the CI process failing to install some packages. This failure is random and there is no way to have consistent results.
83 lines
2.3 KiB
YAML
83 lines
2.3 KiB
YAML
jobs:
|
|
- job: macOS_build
|
|
displayName: macOS Build
|
|
dependsOn: GetReleaseVersion
|
|
timeoutInMinutes: 180
|
|
|
|
variables:
|
|
ReleaseVersion: $[ dependencies.GetReleaseVersion.outputs['Version.ReleaseVersion'] ]
|
|
IsReleaseBranch: $[ dependencies.GetReleaseVersion.outputs['Version.IsReleaseBranch'] ]
|
|
IsSignedZipBranch: $[ dependencies.GetReleaseVersion.outputs['Version.IsSignedZipBranch'] ]
|
|
RunCoreMainTests: true
|
|
pool:
|
|
vmImage: macos-10.15
|
|
|
|
steps:
|
|
- template: templates/preparation.yml
|
|
|
|
- template: templates/cache.yml
|
|
parameters:
|
|
OS: macos
|
|
|
|
- template: templates/bootstrap.yml
|
|
|
|
- template: templates/build.yml
|
|
|
|
# core main tests
|
|
# - template: templates/test.yml
|
|
|
|
- script: |
|
|
cp $(Build.SourcesDirectory)/out/*.zip $(Build.ArtifactStagingDirectory)
|
|
displayName: Stage Artifacts
|
|
|
|
- template: templates/publish.yml
|
|
parameters:
|
|
artifacts:
|
|
- fileName: atom-mac.zip
|
|
fileDir: $(Build.ArtifactStagingDirectory)
|
|
condition: succeeded()
|
|
- fileName: atom-mac-symbols.zip
|
|
fileDir: $(Build.ArtifactStagingDirectory)
|
|
condition: succeeded()
|
|
- fileName: atom-api.json
|
|
fileDir: $(Build.SourcesDirectory)/docs/output
|
|
condition: succeeded()
|
|
|
|
# - job: macOS_tests
|
|
# displayName: macOS Tests
|
|
# dependsOn: macOS_build
|
|
# timeoutInMinutes: 180
|
|
# pool:
|
|
# vmImage: macos-10.15
|
|
# strategy:
|
|
# maxParallel: 3
|
|
# matrix:
|
|
# renderer:
|
|
# RunCoreRendererTests: true
|
|
# RunPackageTests: false
|
|
# packages-1:
|
|
# RunCoreTests: false
|
|
# RunPackageTests: 1
|
|
# packages-2:
|
|
# RunCoreTests: false
|
|
# RunPackageTests: 2
|
|
|
|
# steps:
|
|
# - template: templates/preparation.yml
|
|
|
|
# - template: templates/cache.yml
|
|
# parameters:
|
|
# OS: macos
|
|
|
|
# The artifact caching task does not work on forks, so we need to
|
|
# bootstrap again for pull requests coming from forked repositories.
|
|
# - template: templates/bootstrap.yml
|
|
|
|
# - template: templates/download-unzip.yml
|
|
# parameters:
|
|
# artifacts:
|
|
# - atom-mac.zip
|
|
# - atom-mac-symbols.zip
|
|
|
|
# - template: templates/test.yml
|