add CI images to repo
Some checks failed
/ check (push) Has been cancelled
build / nvim-bundle (nvim) (push) Successful in 29m37s

This commit is contained in:
iofq 2026-02-28 00:01:58 -06:00
parent abce966b76
commit 994fdefcd6
8 changed files with 104 additions and 11 deletions

View file

@ -0,0 +1,34 @@
name: build
on:
push:
branches: [main]
jobs:
nvim-bundle:
runs-on: nix-upstream-latest
strategy:
matrix:
package_name: ["nvim"]
steps:
- run: echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
- run: nix-env -i nodejs
- uses: actions/checkout@v4
- name: nix flake check
run: nix flake check
- name: Run `nix bundle`
if: github.ref == 'refs/heads/main'
id: build
run: |
groups nixbld1
nix bundle \
-o ${{ matrix.package_name }}.AppImage \
--bundler github:ralismark/nix-appimage \
--extra-experimental-features nix-command \
--extra-experimental-features flakes .#${{ matrix.package_name }}
echo "Done building AppImage for ${{ matrix.package_name }}"
- name: Upload bundle to release
if: github.ref == 'refs/heads/main'
uses: https://data.forgejo.org/forgejo/upload-artifact@v4
with:
path: "${{ matrix.package_name }}.AppImage"
name: "${{ matrix.package_name }}-x86_64-linux.AppImage"