File: fetch-and-build

package info (click to toggle)
rust-rustls 0.23.26%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,816 kB
  • sloc: sh: 199; python: 181; makefile: 23
file content (23 lines) | stat: -rwxr-xr-x 437 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env bash

set -ex

mkdir -p bogo
pushd bogo

git init --initial-branch main
git config core.sparsecheckout 1
cat << EOF > .git/info/sparse-checkout
go.mod
go.sum
ssl/test/runner
util/testresult
EOF

# fix on a tested point of rustls-testing branch
COMMIT=018edfaaaeea43bf35a16e9f7ba24510c0c003bb
git fetch --depth=1 https://github.com/rustls/boringssl.git $COMMIT
git checkout $COMMIT
(cd ssl/test/runner && go test -c)

popd