gitlab-ci: add upload step for flipperzero-firmware
This commit is contained in:
parent
3e87d33c07
commit
edd1e5f944
1 changed files with 11 additions and 0 deletions
|
@ -39,6 +39,17 @@ let
|
||||||
nixCache-x86_64-darwin = macOS "x86_64-darwin";
|
nixCache-x86_64-darwin = macOS "x86_64-darwin";
|
||||||
nixCache-aarch64-darwin = macOS "aarch64-darwin";
|
nixCache-aarch64-darwin = macOS "aarch64-darwin";
|
||||||
|
|
||||||
|
flipperzero-firmware = {
|
||||||
|
stage = "deploy-other";
|
||||||
|
needs = [{ job = "nixCache-x86_64-linux"; artifacts = false; }];
|
||||||
|
tags = [ "cacher" ];
|
||||||
|
only.refs = [ "branch/default" ];
|
||||||
|
|
||||||
|
script = ''
|
||||||
|
export NIX_PATH=nixpkgs=$(readlink -f third_party/nixpkgs)
|
||||||
|
$(nix-build -A nix.pkgs.flipperzero-firmware.upload)/bin/upload-f0
|
||||||
|
'';
|
||||||
|
};
|
||||||
lukegbcom = {
|
lukegbcom = {
|
||||||
stage = "deploy-other";
|
stage = "deploy-other";
|
||||||
needs = [{ job = "nixCache-x86_64-linux"; artifacts = false; }];
|
needs = [{ job = "nixCache-x86_64-linux"; artifacts = false; }];
|
||||||
|
|
Loading…
Reference in a new issue