Skip to content

Commit be99437

Browse files
committed
chore: test flake packages
1 parent 45ec725 commit be99437

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Make sure the nix packages exposed in the flake are tested in the Nix CI run. Make sure that the nix packaging process is tested on macOS as well. The CI workflows should confirm that the nix packages are working with some basic smoke tests on each platform.

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,11 @@ jobs:
121121
}
122122
123123
nix:
124-
runs-on: ubuntu-latest
124+
runs-on: ${{ matrix.os }}
125+
strategy:
126+
fail-fast: false
127+
matrix:
128+
os: [ubuntu-latest, macos-latest]
125129
steps:
126130
- uses: actions/checkout@v4
127131
with:
@@ -135,3 +139,9 @@ jobs:
135139
run: nix develop -c just build-extension
136140
- name: Run tests via Nix
137141
run: nix develop -c just test
142+
- name: Build Nix packages
143+
run: |
144+
nix build .#codetracer-ruby-recorder -o result-ruby
145+
./result-ruby/bin/codetracer-ruby-recorder --help >/dev/null
146+
nix build .#codetracer-pure-ruby-recorder -o result-pure
147+
./result-pure/bin/codetracer-pure-ruby-recorder --help >/dev/null

0 commit comments

Comments
 (0)