forked from aws/homebrew-tap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
40 lines (32 loc) · 832 Bytes
/
appveyor.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
35
36
37
38
39
40
version: 1.0.{build}
branches:
# whitelist
only:
- master
image:
- macos-mojave
- Ubuntu1804
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# scripts that run after cloning repository
for:
-
matrix:
only:
- image: Ubuntu1804
before_build:
# Installing linuxbrew and putting it in path.
- export PATH=$PATH:/home/linuxbrew/.linuxbrew/bin
- sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
-
matrix:
only:
- image: macos-mojave
before_build:
- echo "Mac don't need any before_build steps."
# Building bottles shell script.
build_script:
- ./build-formula.sh -f Formula/aws-sam-cli.rb
artifacts:
- path: "build/*.bottle.tar.gz"