forked from railwaycat/homebrew-emacsmacport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure-pipelines.yml
34 lines (30 loc) · 862 Bytes
/
.azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
trigger: none
strategy:
matrix:
macos10.14:
imageName: 'macOS-10.14'
macos10.15:
imageName: 'macOS-10.15'
macos11:
imageName: 'macOS-11'
pool:
vmImage: $(imageName)
steps:
- script: |
./build-scripts/prepare_homebrew.sh
# pushd build-scripts; ./patch_pkgconfig.sh; popd
displayName: prepare
- script: |
pushd build-scripts
./fetch-emacs-mac-port.sh "27.2-mac-8.3"
./build-emacs.sh emacs-source "27.2"
pushd emacs-source; ../copylib.rb $(brew --prefix); popd
./make-zipball.sh emacs-source/tmproot "27.2-mac-8.3"
ls -d $PWD/emacs-source/tmproot/*.zip
mv $PWD/emacs-source/tmproot/*.zip $(Build.ArtifactStagingDirectory)
popd
displayName: build and pack
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)'
publishLocation: 'pipeline'