nixos-riscv/.gitlab-ci.yml

24 lines
534 B
YAML
Raw Normal View History

2024-09-26 12:57:04 +02:00
build:lagarto-ox:
2024-08-26 15:20:16 +02:00
stage: build
when: manual
2024-08-26 15:20:16 +02:00
tags:
- nix
script:
2024-09-18 15:13:46 +02:00
- 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