Skip to content
Snippets Groups Projects
.gitlab-ci.yml 878 B
Newer Older
  • Learn to ignore specific revisions
  • q3k's avatar
    q3k committed
    stages:
      - build
    
    build-p1:
      stage: build
      tags:
        - nixos
      script:
        - nix-shell nix/shell.nix --command "idf.py -g p1 build"
      artifacts:
        expose_as: 'Proto 1 ELF'
        paths: ['build/badge23.elf']
    
        expire_in: 5 hours
    
    q3k's avatar
    q3k committed
    
    build-p3:
      stage: build
      tags:
        - nixos
      script:
        - nix-shell nix/shell.nix --command "idf.py -g p3 build"
      artifacts:
        expose_as: 'Proto 3 ELF'
        paths: ['build/badge23.elf']
    
        expire_in: 5 hours
    
    q3k's avatar
    q3k committed
    
    build-p4:
      stage: build
      tags:
        - nixos
      script:
        - nix-shell nix/shell.nix --command "idf.py -g p4 build"
      artifacts:
        expose_as: 'Proto 4 ELF'
        paths: ['build/badge23.elf']
    
        expire_in: 5 hours
    
    q3k's avatar
    q3k committed
    
    build-p6:
      stage: build
      tags:
        - nixos
      script:
        - nix-shell nix/shell.nix --command "idf.py -g p6 build"
      artifacts:
        expose_as: 'Proto 6 ELF'
        paths: ['build/badge23.elf']
    
        expire_in: 5 hours