Skip to content

feat(nvim): add reg.nvim #559

feat(nvim): add reg.nvim

feat(nvim): add reg.nvim #559

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches: [main]
paths:
- "**.nix"
- "flake.lock"
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
target: pride
- os: ubuntu-latest
target: sloth
- os: ubuntu-latest
target: eden
- os: ubuntu-latest
target: wrath
runs-on: ${{ matrix.os }}
steps:
- name: Create nix mount point
if: contains(matrix.os, 'ubuntu')
run: sudo mkdir /nix
- name: Maximize build space
uses: easimon/maximize-build-space@v10
if: contains(matrix.os, 'ubuntu')
with:
root-reserve-mb: 512
swap-size-mb: 1024
build-mount-path: "/nix"
remove-dotnet: true
remove-android: true
remove-haskell: true
remove-docker-images: true
remove-codeql: true
overprovision-lvm: true
- name: Checkout
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@V27
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Setup cachix
uses: cachix/cachix-action@v15
with:
name: edeneast
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build target
run: |
set -o pipefail
nix build .#top.${{ matrix.target }} --fallback --show-trace -v --log-format raw > >(tee /tmp/nix-build-out.log) 2> >(tee /tmp/nix-build-err.log >&2)
- name: Output build failure
if: failure()
run: |
drv=$(grep "For full logs, run" /tmp/nix-build-err.log | grep -oE "/nix/store/.*.drv")
nix log $drv
echo $drv
exit 1