i18n: update translation file #1093
Workflow file for this run
This file contains hidden or 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/**" | |
| - "flake.*" | |
| - "devenv.*" | |
| - "shell.nix" | |
| - "default.nix" | |
| - "build-systems/nix/**" | |
| - ".github/workflows/build-nix.yml" | |
| - "tests/vm/qownnotes.nix" | |
| pull_request: | |
| paths: | |
| - "src/**" | |
| - "flake.*" | |
| - "devenv.*" | |
| - "shell.nix" | |
| - "default.nix" | |
| - "build-systems/nix/**" | |
| - ".github/workflows/build-nix.yml" | |
| - "tests/vm/qownnotes.nix" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: 🏗️ Build ${{ matrix.just-recipe }} on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| just-recipe: ["nix-build", "nix-build-cmake-qt5", "nix-build-qt5"] | |
| os: ["ubuntu-latest", "macos-15", "macos-14"] | |
| steps: | |
| - name: ⚙️ Install Nix | |
| uses: cachix/install-nix-action@v31 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: 🔒 Cache dependencies | |
| uses: cachix/cachix-action@v17 | |
| with: | |
| # https://app.cachix.org/cache/qownnotes-devenv | |
| name: qownnotes-devenv | |
| authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
| - name: 🧰 Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: 🚧 Build nix package | |
| run: | | |
| case "${{ matrix.just-recipe }}" in | |
| nix-build) | |
| nix build '.?submodules=1#qownnotes-qt6' | |
| ;; | |
| nix-build-cmake-qt5) | |
| nix-build -E 'let pkgs = import <nixpkgs> {}; in pkgs.libsForQt5.callPackage (import ./build-systems/nix/default-cmake-qt5.nix) { }' | |
| ;; | |
| nix-build-qt5) | |
| nix build '.?submodules=1#qownnotes-qt5' | |
| ;; | |
| *) | |
| echo "Unknown build recipe: ${{ matrix.just-recipe }}" | |
| exit 1 | |
| ;; | |
| esac | |
| vm-test: | |
| name: "🧪 Run VM tests" | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: "📥 Checkout repository" | |
| uses: actions/checkout@v6 | |
| - name: "📦 Install Nix" | |
| uses: cachix/install-nix-action@v31 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: 🔒 Cache dependencies | |
| uses: cachix/cachix-action@v17 | |
| with: | |
| # https://app.cachix.org/cache/qownnotes-devenv | |
| name: qownnotes-devenv | |
| - name: 🧰 Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: "🧪 Run QOwnNotes integration test" | |
| uses: nick-fields/retry@v4 | |
| with: | |
| timeout_minutes: 20 | |
| max_attempts: 3 | |
| command: nix build .?submodules=1#checks.x86_64-linux.qownnotes -L --no-link |