Skip to content

clisp TEST broken derivations #911

clisp TEST broken derivations

clisp TEST broken derivations #911

Workflow file for this run

name: "Test"
on:
pull_request:
push:
jobs:
tests:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- uses: cachix/cachix-action@v12
with:
name: cl-nix-lite
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- if: runner.os == 'macOS'
name: Install GNU sed
# BSD sed has a weird interpretation of -e 0,/.../
run: "nix-env -f '<nixpkgs>' -iA gnused"
# Only bother actually building derivations that are not yet in the
# store. This prevents nix-build from downloading all built binaries from
# the store only to discard them immediately afterwards.
- name: All examples
run: |
cd examples && \
nix-build --no-out-link --dry-run 2>&1 | \
sed -e '0,/will be built:$/d' -e '/^[^ ]/,$d' | \
xargs -r nix-build --no-out-link
# TODO: Move to the main top-level CI nix build.
- run: cd examples/flake-app && nix build --no-link --override-input cl-nix-lite ../../
name: examples/flake-app