Skip to content

Commit 3c1fa0f

Browse files
committed
ci: Use vira
1 parent 08a332d commit 3c1fa0f

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
os: [ubuntu-latest, macos-14]
12+
os: [ubuntu-latest, macos-latest]
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: DeterminateSystems/nix-installer-action@main
1616
- name: Install omnix
17-
run: nix --accept-flake-config profile install "github:juspay/omnix"
18-
- run: om ci
17+
run: nix --accept-flake-config profile install "github:juspay/vira"
18+
- run: vira ci
1919
flake-parts-linkCheck:
2020
runs-on: ubuntu-latest
2121
steps:

flake.nix

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,5 @@
88
description = "Example flake using process-compose-flake";
99
path = builtins.path { path = ./example; filter = path: _: baseNameOf path == "flake.nix"; };
1010
};
11-
12-
# https://github.com/srid/nixci
13-
om.ci.default = let overrideInputs = { process-compose-flake = ./.; }; in {
14-
example = {
15-
inherit overrideInputs;
16-
dir = "example";
17-
};
18-
dev = {
19-
inherit overrideInputs;
20-
dir = "dev";
21-
};
22-
};
2311
};
2412
}

vira.hs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
-- Pipeline configuration for Vira <https://vira.nixos.asia/>
2+
3+
\ctx pipeline ->
4+
pipeline
5+
{ build.systems =
6+
[ "x86_64-linux"
7+
-- , "aarch64-darwin"
8+
]
9+
, build.flakes =
10+
[ "."
11+
, "./example" { overrideInputs = [("process-compose-flake", ".")] }
12+
, "./dev" { overrideInputs = [("process-compose-flake", ".")] }
13+
]
14+
}

0 commit comments

Comments
 (0)