File tree 3 files changed +20
-0
lines changed
3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,17 @@ jobs:
21
21
jobName : MacOs_Build
22
22
jobDisplayName : " Build and test: macOS"
23
23
agentOs : macOs
24
+ beforeBuild :
25
+ - bash : " ./eng/scripts/install-nginx-mac.sh"
26
+ displayName : Installing Nginx
24
27
- template : jobs/default-build.yml
25
28
parameters :
26
29
jobName : Linux_Build
27
30
jobDisplayName : " Build and test: Linux"
28
31
agentOs : Linux
32
+ beforeBuild :
33
+ - bash : " ./eng/scripts/install-nginx-linux.sh"
34
+ displayName : Installing Nginx
29
35
# - template: jobs/iisintegration-job.yml
30
36
# parameters:
31
37
# TestGroupName: IIS
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ curl -sSL http://nginx.org/download/nginx-1.8.0.tar.gz | tar zxfv - -C /tmp && cd /tmp/nginx-1.8.0/
4
+ ./configure --prefix=$HOME /nginxinstall --with-http_ssl_module
5
+ make
6
+ make install
7
+ export PATH=" $PATH :$HOME /nginxinstall/sbin/"
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ brew update
4
+ brew install openssl nginx
5
+ ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
6
+ ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/
7
+ export PATH=" $PATH :$HOME /nginxinstall/sbin/"
You can’t perform that action at this time.
0 commit comments