[nix-improvements] ci: check static as separate step

This commit is contained in:
Alex 2024-02-09 11:36:51 +01:00
parent 1c85e5e428
commit 555ed75548
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE

View file

@ -16,6 +16,11 @@ matrix:
steps: steps:
- name: build - name: build
image: nixpkgs/nix:nixos-22.05
commands:
- nix-build --no-build-output --attr pkgs.${ARCH}.release --argstr git_version ${CI_COMMIT_TAG:-$CI_COMMIT_SHA}
- name: check is static binary
image: nixpkgs/nix:nixos-22.05 image: nixpkgs/nix:nixos-22.05
commands: commands:
- nix-build --no-build-output --attr pkgs.${ARCH}.release --argstr git_version ${CI_COMMIT_TAG:-$CI_COMMIT_SHA} - nix-build --no-build-output --attr pkgs.${ARCH}.release --argstr git_version ${CI_COMMIT_TAG:-$CI_COMMIT_SHA}