mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 07:11:24 +01:00
expose static binaries in gitlab artifacts again
This commit is contained in:
parent
94c1a39437
commit
1e050c8983
3 changed files with 21 additions and 1 deletions
14
bin/job
14
bin/job
|
|
@ -4,6 +4,20 @@ job_artifacts() (
|
|||
set -euo pipefail
|
||||
|
||||
nix-build-and-cache packages
|
||||
|
||||
# Subsequent `nix build` calls should be fast because the above line ensures
|
||||
# the packages have been built already.
|
||||
|
||||
packages=(
|
||||
static-aarch64-unknown-linux-musl
|
||||
static-x86_64-unknown-linux-musl
|
||||
)
|
||||
|
||||
for x in "${packages[@]}"; do
|
||||
nix build ".#$x"
|
||||
cp result/bin/grapevine grapevine-"$x"
|
||||
chmod u+w grapevine-"$x"
|
||||
done
|
||||
)
|
||||
|
||||
job_ci() (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue