Commit ae271211 authored by fpletz's avatar fpletz 🚧
Browse files

add gitlab-ci

parent ea768664
colmena build:
image: nixos/nix:latest
tags:
- docker
script:
- echo 'experimental-features = nix-command flakes' >> /etc/nix/nix.conf
- nix-env -iA nixpkgs.git
- nix run . -- build -v
rules:
- if: $CI_MERGE_REQUEST_IID
- if: $CI_COMMIT_BRANCH
FROM ghcr.io/fpletz/nix:latest
FROM nixos/nix:latest
RUN echo 'experimental-features = nix-command flakes' >> /etc/nix/nix.conf
RUN nix-env -iA nixpkgs.git
ADD . /src
WORKDIR /src
RUN nix run . -- build
RUN nix run . -- build -v
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment