mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
We no-longer run the Linux build in an old Ubuntu 14.04 "Trusty Tahr" Docker container. We run builds directly in a virtualized Ubuntu 16.04 "Xenial Xerus" image now.
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
jobs:
|
|
- job: Linux
|
|
dependsOn: GetReleaseVersion
|
|
timeoutInMinutes: 180
|
|
variables:
|
|
ReleaseVersion: $[ dependencies.GetReleaseVersion.outputs['Version.ReleaseVersion'] ]
|
|
pool:
|
|
vmImage: ubuntu-16.04
|
|
|
|
steps:
|
|
- template: templates/preparation.yml
|
|
|
|
- template: templates/cache.yml
|
|
parameters:
|
|
OS: linux
|
|
|
|
- template: templates/bootstrap.yml
|
|
|
|
- script: script/lint
|
|
displayName: Run linter
|
|
|
|
- template: templates/build.yml
|
|
|
|
- template: templates/test.yml
|
|
|
|
- template: templates/publish.yml
|
|
parameters:
|
|
artifacts:
|
|
- fileName: atom.x86_64.rpm
|
|
fileDir: $(Build.SourcesDirectory)/out
|
|
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
|
|
- fileName: atom-amd64.deb
|
|
fileDir: $(Build.SourcesDirectory)/out
|
|
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
|
|
- fileName: atom-amd64.tar.gz
|
|
fileDir: $(Build.SourcesDirectory)/out
|
|
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
|