mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-13 14:11:04 +00:00
Fix win32 build
Fix environment variable case sensitivity. Tests under x86 seem to have to problems doing bind() during TIME_WAIT. Disable it.
This commit is contained in:
parent
3a786e6bb0
commit
ab3ecd0117
1 changed files with 2 additions and 2 deletions
|
@ -14,14 +14,14 @@ 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; EXTRA_FLAGS=target_cpu=\"$Platform\" ./build.sh'
|
||||||
- bash -c '~/.cargo/bin/sccache -s'
|
- bash -c '~/.cargo/bin/sccache -s'
|
||||||
- ps: $env:BUILD_NAME="naiveproxy-$env:APPVEYOR_REPO_TAG_NAME-win-$env:PLATFORM"
|
- ps: $env:BUILD_NAME="naiveproxy-$env:APPVEYOR_REPO_TAG_NAME-win-$env:PLATFORM"
|
||||||
- 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'
|
||||||
test_script:
|
test_script:
|
||||||
- bash -c './tests/basic.sh src/out/Release/naive'
|
- if %Platform%==x64 bash -c './tests/basic.sh src/out/Release/naive'
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: $(BUILD_NAME).zip
|
- path: $(BUILD_NAME).zip
|
||||||
deploy:
|
deploy:
|
||||||
|
|
Loading…
Add table
Reference in a new issue