From b63a122b8e2b542840be78e8318afb8dbc641045 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Tue, 2 Apr 2019 19:16:11 +0800 Subject: [PATCH] Add win32 build in Appveyor --- .appveyor.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 6737217647..79d0cc3b4b 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -2,6 +2,9 @@ branches: except: - dev version: '{build}' +platform: + - x64 + - x86 image: Visual Studio 2017 install: - cinst ninja @@ -12,7 +15,7 @@ build_script: - bash ./tools/import-upstream.sh - bash -c 'cd src; ./get-clang.sh' - bash -c '~/.cargo/bin/sccache -s' - - bash -c 'cd src; ./build.sh' + - bash -c 'cd src; EXTRA_FLAGS=target_cpu=\"$PLATFORM\" ./build.sh' - bash -c '~/.cargo/bin/sccache -s' - ps: $env:BUILD_NAME="naiveproxy-$env:APPVEYOR_REPO_TAG_NAME-win64" - bash -c 'mkdir $BUILD_NAME'