Skip to main content
Version: 0.7.1

Using Bob with GitLab CI

Here is an example how to set up bob on Gitlab:

# .gitlab-ci.yml 
image: cimg/base:2022.09

stages:
- build

build-project:
stage: build
script:
- sh <(curl -L https://nixos.org/nix/install) --no-daemon
- export PATH=$PATH:/home/circleci/.nix-profile/bin
- curl -L https://bob.build/install.sh | BIN_DIR=/usr/local/bin sh
- bob build