Buttplug sex toy control library
20
fork

Configure Feed

Select the types of activity you want to include in your feed.

build: Try caching vcpkg installs so builds don't take 15 minutes

+18 -2
+17 -2
build/default.yml
··· 38 38 - script: cargo clippy --all 39 39 displayName: cargo clippy 40 40 - job: main 41 + variables: 42 + VCPKGRS_DYNAMIC: 1 43 + VCPKG_ROOT: "c:/vcpkg" 41 44 displayName: Compile and test 42 45 dependsOn: [] 43 46 ${{ if eq('true', parameters.cross) }}: ··· 81 84 rust: $(rust) 82 85 # Run any user-specific setup steps 83 86 - ${{ parameters.setup }} 87 + - task: Cache@2 88 + displayName: Cache vcpkg 89 + condition: eq(variables['Agent.OS'], 'Windows_NT') 90 + inputs: 91 + # As 'key' use the content of the response file, vcpkg's commit id and build agent name. 92 + # The key must be one liner, each segment separated by pipe, non-path segments enclosed by 93 + # double quotes. 94 + key: $(Build.SourcesDirectory)/build/vcpkg_x64-windows.txt | "$(Agent.OS)" 95 + path: 'c:/vcpkg' 84 96 - script: | 85 - vcpkg install openssl:x64-windows 97 + vcpkg install @build/vcpkg_x64-windows.txt 98 + echo ##vso[task.setvariable variable=VCPKGRS_DYNAMIC]1 86 99 env: 87 100 RUSTUP_TOOLCHAIN: ${{parameters.rust}} 88 - displayName: "Install rust (windows)" 101 + displayName: "vcpkg (openssl)" 89 102 condition: eq(variables['Agent.OS'], 'Windows_NT') 90 103 - script: cargo check --all --bins --examples 91 104 displayName: cargo check 92 105 env: 106 + VCPKG_ROOT: "c:/vcpkg" 93 107 VCPKGRS_DYNAMIC: 1 94 108 # Can't do no features because we're in a workspace 95 109 # ··· 103 117 - script: cargo test --all 104 118 displayName: cargo test 105 119 env: 120 + VCPKG_ROOT: "c:/vcpkg" 106 121 VCPKGRS_DYNAMIC: 1 107 122 ${{ insert }}: ${{ parameters.env }} 108 123 - ${{ if ne('false', parameters.minrust) }}:
+1
build/vcpkg_x64-windows.txt
··· 1 + openssl:x64-windows