mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-04-25 21:36:23 +02:00
cae758f0ab
- Remove rust-overlay dependency, use nixpkgs built-in Rust - Add comprehensive Linux library dependencies for Chromium browsers - Set up proper LD_LIBRARY_PATH/NIX_LD for NixOS dynamic linking - Add nix run apps: setup, dev, tauri-dev, full-dev, build, test, info - Add AppImage release launcher for NixOS users (v0.17.6) - Add flake-test CI workflow - Update release version and hashes Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
50 lines
1.0 KiB
YAML
50 lines
1.0 KiB
YAML
name: Flake Test
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "flake.nix"
|
|
- "flake.lock"
|
|
- ".github/workflows/flake-test.yml"
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "flake.nix"
|
|
- "flake.lock"
|
|
- ".github/workflows/flake-test.yml"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
flake:
|
|
name: validate-flake
|
|
runs-on: ubuntu-22.04
|
|
timeout-minutes: 90
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #v6.0.1
|
|
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@v31
|
|
with:
|
|
extra_nix_config: |
|
|
experimental-features = nix-command flakes
|
|
|
|
- name: Evaluate flake outputs
|
|
run: nix flake show --all-systems
|
|
|
|
- name: Check setup app is exposed
|
|
run: nix eval .#apps.x86_64-linux.setup.program --raw
|
|
|
|
- name: Run flake setup app
|
|
env:
|
|
CI: "true"
|
|
run: nix run .#setup
|
|
|
|
- name: Run flake info app
|
|
run: nix run .#info
|