Skip to content

Commit caebc85

Browse files
committed
ci: add integration workflow
1 parent 3d50b49 commit caebc85

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Devenv-based Integration Test"
2+
3+
# This workflow attempts to install Neorg with a kickstart config on all major OSes.
4+
# Uses Nix + devenv for convenience.
5+
6+
on:
7+
push:
8+
pull_request:
9+
workflow_dispatch:
10+
11+
jobs:
12+
integration-test:
13+
runs-on: ${{ matrix.os.host }}
14+
strategy:
15+
matrix:
16+
os:
17+
- host: ubuntu-20.04
18+
- host: windows-2019
19+
- host: macos-11 # x86_64
20+
- host: macos-14 # aarch64
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: DeterminateSystems/nix-installer-action@v10
24+
- uses: cachix/cachix-action@v14
25+
with:
26+
name: devenv
27+
- name: Install devenv.sh
28+
run: nix profile install nixpkgs#devenv
29+
- name: Run test
30+
run: devenv test

0 commit comments

Comments
 (0)