.gitlab-ci.yml 691 Bytes
Newer Older
1
l0dables:
Astro's avatar
Astro committed
2
3
4
5
6
7
8
  stage: build
  image: nixos/nix:latest
  variables:
    GIT_SUBMODULE_STRATEGY: normal
  script:
    - nix-channel --add https://nixos.org/channels/nixos-19.03 nixpkgs
    - nix-channel --update
9
    - nix-build -A l0dables
10
    - cp -r result/apps apps
Astro's avatar
Astro committed
11
12
  artifacts:
    paths:
13
     - apps
Astro's avatar
Astro committed
14
    expire_in: 1 week
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

firmware:
  stage: build
  image: nixos/nix:latest
  variables:
    GIT_SUBMODULE_STRATEGY: normal
  script:
    - nix-channel --add https://nixos.org/channels/nixos-19.03 nixpkgs
    - nix-channel --update
    - nix-build release.nix
    - cp -r result/* .
  artifacts:
    paths:
      - card10.bin
      - apps
      - main.py
      - menu.py
    expire_in: 1 week