[file-roller/wip/jtojnar/nix] ci: Add a Nix build
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller/wip/jtojnar/nix] ci: Add a Nix build
- Date: Fri, 1 Apr 2022 19:58:33 +0000 (UTC)
commit b717ee6299dcd158fdbaad26f55c66cb2c25e0cd
Author: Jan Tojnar <jtojnar gmail com>
Date: Fri Apr 1 15:16:57 2022 +0200
ci: Add a Nix build
ci/gitlab-ci.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/ci/gitlab-ci.yaml b/ci/gitlab-ci.yaml
index 35d58944..b1762c43 100644
--- a/ci/gitlab-ci.yaml
+++ b/ci/gitlab-ci.yaml
@@ -1,5 +1,14 @@
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
+build:
+ stage: test
+ image: nixpkgs/nix:latest
+ script:
+ # Sandboxing would require privileged docker.
+ - mkdir -p /etc/nix
+ - echo 'sandbox = false' > /etc/nix/nix.conf
+ - nix-build
+
flatpak:
image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
extends: '.flatpak'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]