install build dependencies in build pipeline (should be in its own container but ok for now)
This commit is contained in:
parent
602ff3595d
commit
f2208c4bec
@ -21,7 +21,9 @@ audit:
|
|||||||
build-statically:
|
build-statically:
|
||||||
stage: build
|
stage: build
|
||||||
before_script:
|
before_script:
|
||||||
- apk --no-cache add musl-dev make
|
- apk --no-cache add musl-dev make rustup cargo
|
||||||
|
- rustup target add x86_64-unknown-linux-musl aarch64-unknown-linux-musl x86_64-pc-windows-gnu
|
||||||
|
- cargo install trunk
|
||||||
- wget https://musl.cc/aarch64-linux-musl-cross.tgz
|
- wget https://musl.cc/aarch64-linux-musl-cross.tgz
|
||||||
- echo "c909817856d6ceda86aa510894fa3527eac7989f0ef6e87b5721c58737a06c38 aarch64-linux-musl-cross.tgz" | sha256sum -c - || exit 1
|
- echo "c909817856d6ceda86aa510894fa3527eac7989f0ef6e87b5721c58737a06c38 aarch64-linux-musl-cross.tgz" | sha256sum -c - || exit 1
|
||||||
- tar -zxvf aarch64-linux-musl-cross.tgz -C / --exclude='aarch64-linux-musl-cross/usr' --strip 1
|
- tar -zxvf aarch64-linux-musl-cross.tgz -C / --exclude='aarch64-linux-musl-cross/usr' --strip 1
|
||||||
@ -33,3 +35,6 @@ build-statically:
|
|||||||
- tar -zxvf x86_64-linux-musl-cross.tgz -C / --exclude='x86_64-linux-musl-cross/usr' --strip 1
|
- tar -zxvf x86_64-linux-musl-cross.tgz -C / --exclude='x86_64-linux-musl-cross/usr' --strip 1
|
||||||
script:
|
script:
|
||||||
- make all
|
- make all
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- release/*
|
||||||
|
Loading…
Reference in New Issue
Block a user