forked from aws/homebrew-tap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
42 lines (34 loc) · 902 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
41
42
version: 1.0.{build}
branches:
# whitelist
only:
- sam-cli-release
image:
- macos-bigsur
- Ubuntu2004
# 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: Ubuntu2004
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-bigsur
before_build:
- echo "Mac don't need any before_build steps."
# Building bottles shell script.
build_script:
- brew tap aws/tap
- sudo bash ./replace-local-tap.sh
- ./build-formula.sh -f Formula/aws-sam-cli.rb -u
artifacts:
- path: "build/*.bottle.tar.gz"