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 @@ -24,12 +24,18 @@ jobs:
24
24
jobDisplayName : " Build and test: macOS"
25
25
agentOs : macOs
26
26
buildScript : ./eng/scripts/cibuild.sh
27
+ beforeBuild :
28
+ - bash : " ./eng/scripts/install-nginx-mac.sh"
29
+ displayName : Installing Nginx
27
30
- template : jobs/default-build.yml
28
31
parameters :
29
32
jobName : Linux_Build
30
33
jobDisplayName : " Build and test: Linux"
31
34
agentOs : Linux
32
35
buildScript : ./eng/scripts/cibuild.sh
36
+ beforeBuild :
37
+ - bash : " ./eng/scripts/install-nginx-linux.sh"
38
+ displayName : Installing Nginx
33
39
- template : jobs/iisintegration-job.yml
34
40
parameters :
35
41
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