Debian Codegraph @

debian/rust-vendor/vcpkg/.gitlab-ci.yml

raw
1 .job_template: &job_definition
2 tags:
3 - win64
4 script:
5 - rustup override set %RUST%
6 - rustc --version && cargo --version
7 - set VCPKG_ROOT=%CD%\..\vcp
8 - echo VCPKG_ROOT is %VCPKG_ROOT%
9 - cd ..
10 - if not exist vcp git clone https://github.com/Microsoft/vcpkg vcp
11 - cd vcp
12 - del /q downloads\*
13 - cd
14 - git checkout master
15 - git pull
16 - git log -1 --format=oneline
17 - cd ..\vcpkg-rs
18 - cd
19 - call ..\vcp\bootstrap-vcpkg.bat
20 - '"%VCPKG_ROOT%\vcpkg.exe" remove --outdated --recurse'
21 - '"%VCPKG_ROOT%\vcpkg.exe" install curl zeromq openssl'
22 - rustc --version
23 - cargo --version
24 - set RUST_BACKTRACE=1
25 - set RUST_TEST_THREADS=1
26 - cargo update
27 - cargo clean
28 - cargo build --all --features="extras"
29 - cargo test --all --features="extras"
30 - cargo run --manifest-path vcpkg_cli\Cargo.toml -- probe sqlite3
31 - cargo run --features="extras" --manifest-path systest\Cargo.toml
32
33 win64_dynamic:
34 <<: *job_definition
35 variables:
36 TARGET: x86_64-pc-windows-msvc
37 VCPKGRS_DYNAMIC: 1
38 RUST: stable
39 VCPKG_DEFAULT_TRIPLET: x64-windows
40
41 win64_static:
42 <<: *job_definition
43 variables:
44 TARGET: x86_64-pc-windows-msvc
45 RUSTFLAGS: -Ctarget-feature=+crt-static
46 RUST: stable
47 VCPKG_DEFAULT_TRIPLET: x64-windows-static
48
49 win32_dynamic:
50 <<: *job_definition
51 variables:
52 TARGET: i686-pc-windows-msvc
53 VCPKGRS_DYNAMIC: 1
54 RUST: stable
55 VCPKG_DEFAULT_TRIPLET: x86-windows
56
57 win32_static:
58 <<: *job_definition
59 variables:
60 TARGET: i686-pc-windows-msvc
61 RUSTFLAGS: -Ctarget-feature=+crt-static
62 RUST: stable
63 VCPKG_DEFAULT_TRIPLET: x86-windows-static
64
65 variables:
66 VCPKG_PANIC: 1
67