parent
0345c756d8
commit
7cb4b1be69
4 changed files with 73 additions and 26 deletions
|
|
@ -30,23 +30,24 @@ steps:
|
||||||
- nix build ".#nix" --print-build-logs --out-link nix --no-update-lock-file
|
- nix build ".#nix" --print-build-logs --out-link nix --no-update-lock-file
|
||||||
- nix profile remove lix
|
- nix profile remove lix
|
||||||
- ./nix/bin/nix profile install ".#nix" --no-update-lock-file
|
- ./nix/bin/nix profile install ".#nix" --no-update-lock-file
|
||||||
- nix profile install ".#nix-fast-build" ".#attic-client" ".#jq" --no-update-lock-file
|
- nix profile install ".#nix-ci" ".#attic-client" ".#jq" --no-update-lock-file
|
||||||
- nix --version
|
- nix --version
|
||||||
- attic login default $${ATTIC_ENDPOINT} $${ATTIC_PUSH_TOKEN}
|
- attic login default $${ATTIC_ENDPOINT} $${ATTIC_PUSH_TOKEN}
|
||||||
- attic use $${ATTIC_CACHE}
|
- attic use $${ATTIC_CACHE}
|
||||||
|
- attic push $${ATTIC_CACHE} $(nix build --print-build-logs --no-update-lock-file --no-link --print-out-paths .#nix-ci)
|
||||||
# - attic watch-store $${ATTIC_CACHE} &
|
# - attic watch-store $${ATTIC_CACHE} &
|
||||||
# - nix build .#nixosConfigurations.ds9.config.system.build.toplevel .#nixosConfigurations.picard.config.system.build.toplevel .#nixosConfigurations.theseus.config.system.build.toplevel
|
# - nix build .#nixosConfigurations.ds9.config.system.build.toplevel .#nixosConfigurations.picard.config.system.build.toplevel .#nixosConfigurations.theseus.config.system.build.toplevel
|
||||||
# - nix flake archive --json .
|
# - nix flake archive --json .
|
||||||
- attic push xyno $(nix flake archive --json . | jq -r '[.. | .path? | select(. != null)] | unique | .[]')
|
# - attic push xyno $(nix flake archive --json . | jq -r '[.. | .path? | select(. != null)] | unique | .[]')
|
||||||
- mkdir /tmp/reports
|
# - mkdir /tmp/reports
|
||||||
- nix-fast-build --debug --no-nom --skip-cached --result-file /tmp/reports/junit.xml --result-format junit --attic-cache $${ATTIC_CACHE} --flake .#hydraJobs.systems
|
- nix-ci --check-cached --copy-to-attic $${ATTIC_CACHE} --flake-path .#hydraJobs.systems
|
||||||
- name: junit-reports
|
# - name: junit-reports
|
||||||
image: ghcr.io/wgroeneveld/woodpecker-ascii-junit:main
|
# image: ghcr.io/wgroeneveld/woodpecker-ascii-junit:main
|
||||||
settings:
|
# settings:
|
||||||
log-level: debug
|
# log-level: debug
|
||||||
path: /tmp/reports/**/*.xml
|
# path: /tmp/reports/**/*.xml
|
||||||
when:
|
# when:
|
||||||
status: [
|
# status: [
|
||||||
'success',
|
# 'success',
|
||||||
'failure',
|
# 'failure',
|
||||||
]
|
# ]
|
||||||
|
|
|
||||||
63
flake.lock
generated
63
flake.lock
generated
|
|
@ -242,11 +242,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760015796,
|
"lastModified": 1760103600,
|
||||||
"narHash": "sha256-c/WkaynHrRE1EHWATe5+vb9M9YabfTaR1GHivdybaSU=",
|
"narHash": "sha256-R4cltQFceN3POiPhBu7aTKsrwqTiwo6zjzmitrHD80E=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "6564ee29d0521af3feba937a91024e6a3e77a8b6",
|
"rev": "bcccb01d0a353c028cc8cb3254cac7ebae32929e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -435,13 +435,34 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-ci": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"rust-overlay": "rust-overlay_4"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1760113386,
|
||||||
|
"narHash": "sha256-6gjmlJuvNJiRx/Ss2DKvtJvzJgXWhV30FCTkibKXC6U=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "ac4fdac3b7e0722299003836928df115dada6cae",
|
||||||
|
"revCount": 8,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.xyno.systems/xyno/nix-ci"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.xyno.systems/xyno/nix-ci"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1759582739,
|
"lastModified": 1760106635,
|
||||||
"narHash": "sha256-spZegilADH0q5OngM86u6NmXxduCNv5eX9vCiUPhOYc=",
|
"narHash": "sha256-2GoxVaKWTHBxRoeUYSjv0AfSOx4qw5CWSFz2b+VolKU=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "3441b5242af7577230a78ffb03542add264179ab",
|
"rev": "9ed85f8afebf2b7478f25db0a98d0e782c0ed903",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -484,11 +505,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-master": {
|
"nixpkgs-master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760020272,
|
"lastModified": 1760112597,
|
||||||
"narHash": "sha256-/w2H6t+NxdtbZ/oBkb0i/bW766aOuq7X69Jz1CzC3Vw=",
|
"narHash": "sha256-OVrj3jM33mKdgnHlwsISC4h0MayjESadorU49FapVFQ=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "531f6038cfe85c60b3f349b85e71939b539bc334",
|
"rev": "d4e0dea40464c69ad9c9f100f03195d6dd96203c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -603,6 +624,7 @@
|
||||||
"mtxclient": "mtxclient",
|
"mtxclient": "mtxclient",
|
||||||
"nheko": "nheko",
|
"nheko": "nheko",
|
||||||
"niri": "niri",
|
"niri": "niri",
|
||||||
|
"nix-ci": "nix-ci",
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-master": "nixpkgs-master",
|
"nixpkgs-master": "nixpkgs-master",
|
||||||
|
|
@ -676,6 +698,27 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay_4": {
|
"rust-overlay_4": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nix-ci",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1760063676,
|
||||||
|
"narHash": "sha256-s5Fjh43skH2L+avOGioLmEHoYZffDbg3abV5h0gjeew=",
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"rev": "897deed0923cc5a1d560c5176abe0d172ec9716d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"rust-overlay_5": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"xwayland-satellite",
|
"xwayland-satellite",
|
||||||
|
|
@ -814,7 +857,7 @@
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs-master"
|
"nixpkgs-master"
|
||||||
],
|
],
|
||||||
"rust-overlay": "rust-overlay_4"
|
"rust-overlay": "rust-overlay_5"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1759707084,
|
"lastModified": 1759707084,
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,8 @@
|
||||||
nheko.flake = false;
|
nheko.flake = false;
|
||||||
mtxclient.url = "github:Nheko-Reborn/mtxclient";
|
mtxclient.url = "github:Nheko-Reborn/mtxclient";
|
||||||
mtxclient.flake = false;
|
mtxclient.flake = false;
|
||||||
|
nix-ci.url = "git+https://git.xyno.systems/xyno/nix-ci";
|
||||||
|
nix-ci.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
# helix
|
# helix
|
||||||
helix.url = "github:helix-editor/helix";
|
helix.url = "github:helix-editor/helix";
|
||||||
|
|
@ -70,6 +72,7 @@
|
||||||
);
|
);
|
||||||
overlays = [
|
overlays = [
|
||||||
self.overlays.default
|
self.overlays.default
|
||||||
|
inputs.nix-ci.overlays.default
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
inherit (final.unstable.lixPackageSets.latest)
|
inherit (final.unstable.lixPackageSets.latest)
|
||||||
nixpkgs-review
|
nixpkgs-review
|
||||||
|
|
@ -148,7 +151,7 @@
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nix = pkgs.unstable.lixPackageSets.latest.lix;
|
nix = pkgs.unstable.lixPackageSets.latest.lix;
|
||||||
inherit (pkgs) nix-fast-build attic-client jq;
|
inherit (pkgs) nix-fast-build attic-client jq nix-ci;
|
||||||
};
|
};
|
||||||
checks."x86_64-linux"."nixos" =
|
checks."x86_64-linux"."nixos" =
|
||||||
let
|
let
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ in
|
||||||
virtualisation.podman.enable = true;
|
virtualisation.podman.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
unstable.jetbrains.rider
|
jetbrains.rider
|
||||||
# android-studio
|
# android-studio
|
||||||
nixpkgs-manual
|
nixpkgs-manual
|
||||||
nixpkgs-manual.lib-docs
|
nixpkgs-manual.lib-docs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue