diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65b5f7d..e4d7253 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,9 @@ audit: build-statically: stage: build 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 - 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 @@ -32,4 +34,7 @@ build-statically: - echo "c5d410d9f82a4f24c549fe5d24f988f85b2679b452413a9f7e5f7b956f2fe7ea x86_64-linux-musl-cross.tgz" | sha256sum -c - || exit 1 - tar -zxvf x86_64-linux-musl-cross.tgz -C / --exclude='x86_64-linux-musl-cross/usr' --strip 1 script: - - make all \ No newline at end of file + - make all + artifacts: + paths: + - release/*