#3163 doc: add script function documentation #103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🏗️ Build QOwnNotes for Nix | |
on: | |
push: | |
branches-ignore: | |
- release | |
tags-ignore: | |
- '*' | |
paths: | |
- 'src/**' | |
- 'default.nix' | |
- 'build-systems/nix/**' | |
- '.github/workflows/build-nix.yml' | |
pull_request: | |
paths: | |
- 'src/**' | |
- 'default.nix' | |
- 'build-systems/nix/**' | |
- '.github/workflows/build-nix.yml' | |
workflow_dispatch: | |
jobs: | |
build: | |
name: 🏗️ Build ${{ matrix.just-recipe }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
just-recipe: ['nix-build', 'nix-build-cmake-qt5'] | |
steps: | |
- name: ⚙️ Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: 🧰 Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: 🚧 Build nix package | |
run: nix-shell --run "just ${{ matrix.just-recipe }}" |