Skip to content

Commit 389df84

Browse files
committed
appveyor: init
1 parent 25860df commit 389df84

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

appveyor.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 1.0.{build}
2+
build_script:
3+
- cmd: >-
4+
appveyor_build.bat
5+
shallow_clone: true
6+
test: off
7+
artifacts:
8+
- path: nginx-bin.7z
9+
skip_commits:
10+
files:
11+
- 'LICENSE'
12+
- '*.md'
13+
- '.gitingore'
14+
deploy:
15+
- provider: Environment
16+
name: github
17+
on:
18+
appveyor_repo_tag: true

appveyor_build.bat

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
set cmdLine="cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./nginx-build-msys2.sh"
2+
if "%APPVEYOR_REPO_TAG%" == "true" set cmdLine="cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./nginx-build-msys2.sh --tag=release-$APPVEYOR_REPO_TAG_NAME"
3+
4+
set MSYSTEM=MINGW64
5+
C:\msys64\usr\bin\bash -lc %cmdLine%
6+
set MSYSTEM=MINGW32
7+
C:\msys64\usr\bin\bash -lc %cmdLine%
8+
9+
C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./nginx-package-msys2.sh"

nginx-build-msys2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ configure_args=(
9090
--with-http_ssl_module \
9191
--with-mail_ssl_module \
9292
--with-stream_ssl_module \
93-
--with-cc-opt='-O2 -pipe -Wall' \
93+
--with-cc-opt='-O2' \
9494
--with-ld-opt='-Wl,--gc-sections,--build-id=none' \
9595
--prefix=
9696
)

0 commit comments

Comments
 (0)