terminal user interface to jujutsu. Focused on speed and clarity
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove det sys nix

+90 -62
+90 -62
.github/workflows/build-nix.yml
··· 22 22 - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b 23 23 with: 24 24 fetch-depth: 0 25 - - uses: DeterminateSystems/nix-installer-action@main 26 - # - uses: DeterminateSystems/magic-nix-cache-action@main 27 - # with: 28 - # use-flakehub: false 25 + # - uses: DeterminateSystems/nix-installer-action@main 26 + # # - uses: DeterminateSystems/magic-nix-cache-action@main 27 + # # with: 28 + # # use-flakehub: false 29 29 30 - - run: nix build .#static 31 - - name: Create tar.gz 32 - run: tar -czvf jj_tui_linux-x86_64.tar.gz -C result/bin jj_tui 33 - - name: Archive production artifacts 34 - uses: actions/upload-artifact@v4 30 + - uses: nixbuild/nix-quick-install-action@v30 35 31 with: 36 - name: jj_tui_linux 37 - path: jj_tui_linux-x86_64.tar.gz 32 + nix_conf: | 33 + keep-env-derivations = true 34 + keep-outputs = true 38 35 39 - linux-aarch64: 40 - strategy: 41 - fail-fast: false 42 - runs-on: ubuntu-24.04-arm 43 - timeout-minutes: 20 44 - steps: 45 - - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b 36 + - name: Restore and save Nix store 37 + uses: nix-community/cache-nix-action@v6 46 38 with: 47 - fetch-depth: 0 48 - - uses: DeterminateSystems/nix-installer-action@main 49 - # - uses: DeterminateSystems/magic-nix-cache-action@main 39 + # restore and save a cache using this key 40 + primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }} 41 + # if there's no cache hit, restore a cache by this prefix 42 + restore-prefixes-first-match: nix-${{ runner.os }}- 43 + # collect garbage until the Nix store size (in bytes) is at most this number 44 + # before trying to save a new cache 45 + # 1G = 1073741824 46 + gc-max-store-size-linux: 1G 47 + # do purge caches 48 + purge: true 49 + # purge all versions of the cache 50 + purge-prefixes: nix-${{ runner.os }}- 51 + # created more than this number of seconds ago 52 + purge-created: 0 53 + # or, last accessed more than this number of seconds ago 54 + # relative to the start of the `Post Restore and save Nix store` phase 55 + purge-last-accessed: 0 56 + # except any version with the key that is the same as the `primary-key` 57 + purge-primary-key: never 50 58 - run: nix build .#static 51 59 - name: Create tar.gz 52 - run: tar -czvf jj_tui_linux-aarch64.tar.gz -C result/bin jj_tui 60 + run: tar -czvf jj_tui_linux-x86_64.tar.gz -C result/bin jj_tui 53 61 - name: Archive production artifacts 54 62 uses: actions/upload-artifact@v4 55 63 with: 56 64 name: jj_tui_linux 57 - path: jj_tui_linux-aarch64.tar.gz 58 - macos: 59 - strategy: 60 - fail-fast: false 61 - runs-on: macos-latest 62 - timeout-minutes: 20 65 + path: jj_tui_linux-x86_64.tar.gz 63 66 64 - steps: 65 - - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b 66 - with: 67 - fetch-depth: 0 68 - - uses: DeterminateSystems/nix-installer-action@main 69 - # - uses: DeterminateSystems/magic-nix-cache-action@main 70 - - run: nix build 71 - - name: Create tar.gz 72 - run: tar -czvf jj_tui_macos-aarch64.tar.gz -C result/bin jj_tui 73 - - name: Archive production artifacts 74 - uses: actions/upload-artifact@v4 75 - with: 76 - name: jj_tui_macos 77 - path: jj_tui_macos-aarch64.tar.gz 67 + # linux-aarch64: 68 + # strategy: 69 + # fail-fast: false 70 + # runs-on: ubuntu-24.04-arm 71 + # timeout-minutes: 20 72 + # steps: 73 + # - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b 74 + # with: 75 + # fetch-depth: 0 76 + # - uses: DeterminateSystems/nix-installer-action@main 77 + # # - uses: DeterminateSystems/magic-nix-cache-action@main 78 + # - run: nix build .#static 79 + # - name: Create tar.gz 80 + # run: tar -czvf jj_tui_linux-aarch64.tar.gz -C result/bin jj_tui 81 + # - name: Archive production artifacts 82 + # uses: actions/upload-artifact@v4 83 + # with: 84 + # name: jj_tui_linux-aarch64 85 + # path: jj_tui_linux-aarch64.tar.gz 86 + # macos: 87 + # strategy: 88 + # fail-fast: false 89 + # runs-on: macos-latest 90 + # timeout-minutes: 20 78 91 79 - macos-x86: 80 - strategy: 81 - fail-fast: false 82 - runs-on: macos-15-intel 83 - timeout-minutes: 20 92 + # steps: 93 + # - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b 94 + # with: 95 + # fetch-depth: 0 96 + # - uses: DeterminateSystems/nix-installer-action@main 97 + # # - uses: DeterminateSystems/magic-nix-cache-action@main 98 + # - run: nix build 99 + # - name: Create tar.gz 100 + # run: tar -czvf jj_tui_macos-aarch64.tar.gz -C result/bin jj_tui 101 + # - name: Archive production artifacts 102 + # uses: actions/upload-artifact@v4 103 + # with: 104 + # name: jj_tui_macos 105 + # path: jj_tui_macos-aarch64.tar.gz 84 106 85 - steps: 86 - - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b 87 - with: 88 - fetch-depth: 0 89 - - uses: DeterminateSystems/nix-installer-action@main 90 - # - uses: DeterminateSystems/magic-nix-cache-action@main 91 - - run: nix build 92 - - name: Create tar.gz 93 - run: tar -czvf jj_tui_macos-x86_64.tar.gz -C result/bin jj_tui 94 - - name: Archive production artifacts 95 - uses: actions/upload-artifact@v4 96 - with: 97 - name: jj_tui_macos-x86 98 - path: jj_tui_macos-x86_64.tar.gz 107 + # macos-x86: 108 + # strategy: 109 + # fail-fast: false 110 + # runs-on: macos-15-intel 111 + # timeout-minutes: 20 112 + 113 + # steps: 114 + # - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b 115 + # with: 116 + # fetch-depth: 0 117 + # - uses: DeterminateSystems/nix-installer-action@main 118 + # # - uses: DeterminateSystems/magic-nix-cache-action@main 119 + # - run: nix build 120 + # - name: Create tar.gz 121 + # run: tar -czvf jj_tui_macos-x86_64.tar.gz -C result/bin jj_tui 122 + # - name: Archive production artifacts 123 + # uses: actions/upload-artifact@v4 124 + # with: 125 + # name: jj_tui_macos-x86 126 + # path: jj_tui_macos-x86_64.tar.gz 99 127 100 128 release: 101 129 permissions: ··· 113 141 with: 114 142 files: | 115 143 jj_tui_linux/jj_tui_linux-x86_64.tar.gz 116 - jj_tui_linux/jj_tui_linux-aarch64.tar.gz 144 + jj_tui_linux-aarch64/jj_tui_linux-aarch64.tar.gz 117 145 jj_tui_macos/jj_tui_macos-aarch64.tar.gz 118 146 jj_tui_macos-x86/jj_tui_macos-x86_64.tar.gz