Skip to content

Commit

Permalink
add a smoke-test to CI for the nix 'default' output
Browse files Browse the repository at this point in the history
I talked to somebody yesterday in #conduwuit:puppygock.gay that was using
this output in their system config. The dynamically-linked jemalloc build
is quite fragile, and is not tested by anything else in CI. We want to
make sure we don't break it again in the future.
  • Loading branch information
Benjamin Lee committed May 25, 2024
1 parent 75a6b84 commit 9d8797b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions engage.toml
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,15 @@ cargo test \
-- \
--color=always
"""

# Ensure that the flake's default output can build and run without crashing
#
# This is a dynamically-linked jemalloc build, which is a case not covered by
# our other tests. We've had linking problems in the past with dynamic
# jemalloc builds that usually show up as an immediate segfault or "invalid free"
[[task]]
name = "nix-default"
group = "tests"
script = """
nix run .#default -- --help
"""

0 comments on commit 9d8797b

Please sign in to comment.