mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-13 14:11:04 +00:00
Update .appveyor.yml
This commit is contained in:
parent
b63a122b8e
commit
a52b5be0ac
1 changed files with 9 additions and 2 deletions
|
@ -2,6 +2,14 @@ branches:
|
||||||
except:
|
except:
|
||||||
- dev
|
- dev
|
||||||
version: '{build}'
|
version: '{build}'
|
||||||
|
environment:
|
||||||
|
matrix:
|
||||||
|
- platform: x64
|
||||||
|
EXTRA_FLAGS: target_cpu="x64"
|
||||||
|
BUILD_NAME: naiveproxy-$(APPVEYOR_REPO_TAG_NAME)-win64
|
||||||
|
- platform: x86
|
||||||
|
EXTRA_FLAGS: target_cpu="x86"
|
||||||
|
BUILD_NAME: naiveproxy-$(APPVEYOR_REPO_TAG_NAME)-win32
|
||||||
platform:
|
platform:
|
||||||
- x64
|
- x64
|
||||||
- x86
|
- x86
|
||||||
|
@ -15,9 +23,8 @@ build_script:
|
||||||
- bash ./tools/import-upstream.sh
|
- bash ./tools/import-upstream.sh
|
||||||
- bash -c 'cd src; ./get-clang.sh'
|
- bash -c 'cd src; ./get-clang.sh'
|
||||||
- bash -c '~/.cargo/bin/sccache -s'
|
- bash -c '~/.cargo/bin/sccache -s'
|
||||||
- bash -c 'cd src; EXTRA_FLAGS=target_cpu=\"$PLATFORM\" ./build.sh'
|
- bash -c 'cd src; ./build.sh'
|
||||||
- bash -c '~/.cargo/bin/sccache -s'
|
- bash -c '~/.cargo/bin/sccache -s'
|
||||||
- ps: $env:BUILD_NAME="naiveproxy-$env:APPVEYOR_REPO_TAG_NAME-win64"
|
|
||||||
- bash -c 'mkdir $BUILD_NAME'
|
- bash -c 'mkdir $BUILD_NAME'
|
||||||
- bash -c 'cp src/out/Release/naive.exe src/config.json LICENSE USAGE.txt $BUILD_NAME'
|
- bash -c 'cp src/out/Release/naive.exe src/config.json LICENSE USAGE.txt $BUILD_NAME'
|
||||||
- bash -c '7z a $BUILD_NAME.zip $BUILD_NAME'
|
- bash -c '7z a $BUILD_NAME.zip $BUILD_NAME'
|
||||||
|
|
Loading…
Add table
Reference in a new issue