mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
Add appveyor.yml
This commit is contained in:
parent
89c1eec7fa
commit
c7def621ec
29
.appveyor.yml
Normal file
29
.appveyor.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
version: '{build}'
|
||||||
|
image: Visual Studio 2017
|
||||||
|
install:
|
||||||
|
- cinst ninja
|
||||||
|
cache:
|
||||||
|
- '%USERPROFILE%\.cargo\bin'
|
||||||
|
- '%LOCALAPPDATA%\Mozilla\sccache'
|
||||||
|
build_script:
|
||||||
|
- bash ./tools/import-upstream.sh
|
||||||
|
- cd src
|
||||||
|
- bash ./get-clang.sh
|
||||||
|
- bash -c '~/.cargo/bin/sccache -s'
|
||||||
|
- bash ./build.sh
|
||||||
|
- bash -c '~/.cargo/bin/sccache -s'
|
||||||
|
- bash -c 'mkdir naive-$APPVEYOR_REPO_TAG_NAME-win64'
|
||||||
|
- bash -c 'cp out/Release/naive.exe config.json LICENSE naive-$APPVEYOR_REPO_TAG_NAME-win64/'
|
||||||
|
- bash -c '7z a ../naive-$APPVEYOR_REPO_TAG_NAME-win64.zip naive-$APPVEYOR_REPO_TAG_NAME-win64/'
|
||||||
|
test: off
|
||||||
|
artifacts:
|
||||||
|
- path: naive-$(APPVEYOR_REPO_TAG_NAME)-win64.zip
|
||||||
|
deploy:
|
||||||
|
- provider: GitHub
|
||||||
|
auth_token:
|
||||||
|
secure: h+qwIoof/3ET7LOldWwlb6XQLmpxYPuaZL4YcFQ8QyclfBrnywzwzDaSqdE2unPg
|
||||||
|
artifact: naive-$(APPVEYOR_REPO_TAG_NAME)-win64.zip
|
||||||
|
prerelease: true
|
||||||
|
force_update: true
|
||||||
|
on:
|
||||||
|
APPVEYOR_REPO_TAG: true
|
Loading…
Reference in New Issue
Block a user