nixos-riscv/.gitlab-ci.yml
Rodrigo Arias Mallo 53ab72fa20 Switch to ZST for tarball
It is faster then Gzip and available in MEEP FPGA cluster.
2024-10-21 09:17:10 +02:00

24 lines
534 B
YAML

build:lagarto-ox:
stage: build
when: manual
tags:
- nix
script:
- nix develop -L .#lagarto-ox --command fpga/run-remotely.sh fpgalogin1:ci
build:lagarto-ox-tarball:
stage: build
when: manual
tags:
- nix
script:
- nix build -L .#nixosConfigurations.lagarto-ox.pkgs.fpga-tarball
- cd result
- out=/ceph/home/gitlab-runner/public_html/nixos-riscv/
- fn=$(ls | head -1)
- cp $fn $out/$fn
- rm -f $out/latest.tar.zst
- ln -s $out/$fn $out/latest.tar.zst
- cd ..
- rm result