Skip to content

Commit 87c2f14

Browse files
committed
speculative local other build fn with notes to self
Signed-off-by: clux <[email protected]>
1 parent 255f9c7 commit 87c2f14

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

test.sh

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,29 +37,20 @@ function docker_build() {
3737
}
3838

3939
# Reference - Helpers to locally compare builds from alternative images (x86_64 arch only):
40-
# - `ekidd/rust-musl-builder`
41-
# - `golddranks/rust_musl_docker`
42-
function docker_build_ekidd() {
40+
# - https://github.com/emk/rust-musl-builder (ss1, abandoned)
41+
# - https://gitlab.com/rust_musl_docker/image (ss1, abandoned)
42+
# - https://github.com/BlackDex/rust-musl (active, supports ssl 3.X)
43+
function docker_build_other_image() {
4344
docker run --rm -it \
4445
--env RUST_BACKTRACE=1 \
4546
--volume "${CRATE_PATH}:/home/rust/src" \
4647
--volume cargo-cache:/home/rust/.cargo \
47-
ekidd/rust-musl-builder:nightly \
48+
blackdex/rust-musl:x86_64-musl-stable \
4849
cargo build -vv
4950

5051
check_crate_build_locally
5152
}
5253

53-
function docker_build_golddranks() {
54-
docker run --rm -it \
55-
--env RUST_BACKTRACE=1 \
56-
--volume "${CRATE_PATH}:/workdir" \
57-
golddranks/rust_musl_docker:nightly-2017-10-03 \
58-
cargo build -vv --target=x86_64-unknown-linux-musl
59-
60-
check_crate_build_locally
61-
}
62-
6354
# Verify the build artifact works and is statically linked:
6455
function check_crate_build_locally() {
6556
local CRATE_ARTIFACT="${CRATE_PATH}/target/x86_64-unknown-linux-musl/debug/${CRATE_NAME}"

0 commit comments

Comments
 (0)