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.

re-enable all builds

+139 -64
+139 -64
.github/workflows/build-nix.yml
··· 56 56 # except any version with the key that is the same as the `primary-key` 57 57 purge-primary-key: never 58 58 - run: nix build .#static 59 - - name: Create tar.gz 60 - run: tar -czvf jj_tui_linux-x86_64.tar.gz -C result/bin jj_tui 59 + # - name: Create tar.gz 60 + # run: tar -czvf jj_tui_linux-x86_64.tar.gz -C result/bin jj_tui 61 61 - name: Archive production artifacts 62 62 uses: actions/upload-artifact@v4 63 63 with: 64 64 name: jj_tui_linux 65 - path: jj_tui_linux-x86_64.tar.gz 65 + path: result/bin/jj_tui 66 66 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 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: nixbuild/nix-quick-install-action@v30 77 + with: 78 + nix_conf: | 79 + keep-env-derivations = true 80 + keep-outputs = true 81 + 82 + - name: Restore and save Nix store 83 + uses: nix-community/cache-nix-action@v6 84 + with: 85 + # restore and save a cache using this key 86 + primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }} 87 + # if there's no cache hit, restore a cache by this prefix 88 + restore-prefixes-first-match: nix-${{ runner.os }}- 89 + # collect garbage until the Nix store size (in bytes) is at most this number 90 + # before trying to save a new cache 91 + # 1G = 1073741824 92 + gc-max-store-size-linux: 1G 93 + # do purge caches 94 + purge: true 95 + # purge all versions of the cache 96 + purge-prefixes: nix-${{ runner.os }}- 97 + # created more than this number of seconds ago 98 + purge-created: 0 99 + # or, last accessed more than this number of seconds ago 100 + # relative to the start of the `Post Restore and save Nix store` phase 101 + purge-last-accessed: 0 102 + # except any version with the key that is the same as the `primary-key` 103 + purge-primary-key: never 104 + - run: nix build .#static 105 + # - name: Create tar.gz 106 + # run: tar -czvf jj_tui_linux-aarch64.tar.gz -C result/bin jj_tui 107 + - name: Archive production artifacts 108 + uses: actions/upload-artifact@v4 109 + with: 110 + name: jj_tui_linux-aarch64 111 + path: result/bin/jj_tui 112 + 113 + macos: 114 + strategy: 115 + fail-fast: false 116 + runs-on: macos-latest 117 + timeout-minutes: 20 118 + 119 + steps: 120 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b 121 + with: 122 + fetch-depth: 0 123 + - uses: nixbuild/nix-quick-install-action@v30 124 + with: 125 + nix_conf: | 126 + keep-env-derivations = true 127 + keep-outputs = true 128 + 129 + - name: Restore and save Nix store 130 + uses: nix-community/cache-nix-action@v6 131 + with: 132 + # restore and save a cache using this key 133 + primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }} 134 + # if there's no cache hit, restore a cache by this prefix 135 + restore-prefixes-first-match: nix-${{ runner.os }}- 136 + # collect garbage until the Nix store size (in bytes) is at most this number 137 + # before trying to save a new cache 138 + # 1G = 1073741824 139 + gc-max-store-size-linux: 1G 140 + # do purge caches 141 + purge: true 142 + # purge all versions of the cache 143 + purge-prefixes: nix-${{ runner.os }}- 144 + # created more than this number of seconds ago 145 + purge-created: 0 146 + # or, last accessed more than this number of seconds ago 147 + # relative to the start of the `Post Restore and save Nix store` phase 148 + purge-last-accessed: 0 149 + # except any version with the key that is the same as the `primary-key` 150 + purge-primary-key: never 151 + - run: nix build 152 + - name: Archive production artifacts 153 + uses: actions/upload-artifact@v4 154 + with: 155 + name: jj_tui_macos 156 + path: result/bin/jj_tui 91 157 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 158 + macos-x86: 159 + strategy: 160 + fail-fast: false 161 + runs-on: macos-15-intel 162 + timeout-minutes: 20 106 163 107 - # macos-x86: 108 - # strategy: 109 - # fail-fast: false 110 - # runs-on: macos-15-intel 111 - # timeout-minutes: 20 164 + steps: 165 + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b 166 + with: 167 + fetch-depth: 0 168 + - uses: nixbuild/nix-quick-install-action@v30 169 + with: 170 + nix_conf: | 171 + keep-env-derivations = true 172 + keep-outputs = true 112 173 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 174 + - name: Restore and save Nix store 175 + uses: nix-community/cache-nix-action@v6 176 + with: 177 + # restore and save a cache using this key 178 + primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }} 179 + # if there's no cache hit, restore a cache by this prefix 180 + restore-prefixes-first-match: nix-${{ runner.os }}- 181 + # collect garbage until the Nix store size (in bytes) is at most this number 182 + # before trying to save a new cache 183 + # 1G = 1073741824 184 + gc-max-store-size-linux: 1G 185 + # do purge caches 186 + purge: true 187 + # purge all versions of the cache 188 + purge-prefixes: nix-${{ runner.os }}- 189 + # created more than this number of seconds ago 190 + purge-created: 0 191 + # or, last accessed more than this number of seconds ago 192 + # relative to the start of the `Post Restore and save Nix store` phase 193 + purge-last-accessed: 0 194 + # except any version with the key that is the same as the `primary-key` 195 + purge-primary-key: never 196 + - run: nix build 197 + - name: Create tar.gz 198 + uses: actions/upload-artifact@v4 199 + with: 200 + name: jj_tui_macos-x86 201 + path: result/bin/jj_tui 127 202 128 203 release: 129 204 permissions: ··· 141 216 if: startsWith(github.ref, 'refs/tags/') 142 217 with: 143 218 files: | 144 - jj_tui_linux/jj_tui_linux-x86_64.tar.gz 145 - jj_tui_linux-aarch64/jj_tui_linux-aarch64.tar.gz 146 - jj_tui_macos/jj_tui_macos-aarch64.tar.gz 147 - jj_tui_macos-x86/jj_tui_macos-x86_64.tar.gz 219 + jj_tui_linux/jj_tui 220 + jj_tui_linux-aarch64/jj_tui 221 + jj_tui_macos/jj_tui 222 + jj_tui_macos-x86/jj_tui