diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-10 21:51:57 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-10 21:51:57 +0300 |
| commit | 425c86179791cd32e2d4ce0ae7f269940b4b0663 (patch) | |
| tree | e52c4383a6d69216cbe2a32638bf90841d7e2189 /.github/workflows | |
| parent | 90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff) | |
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build-artifacts-manual.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 30 | ||||
| -rw-r--r-- | .github/workflows/preview.yml | 21 | ||||
| -rw-r--r-- | .github/workflows/release.yml | 19 |
4 files changed, 18 insertions, 58 deletions
diff --git a/.github/workflows/build-artifacts-manual.yml b/.github/workflows/build-artifacts-manual.yml index 7fc2e9b8..e5cf8b4b 100644 --- a/.github/workflows/build-artifacts-manual.yml +++ b/.github/workflows/build-artifacts-manual.yml @@ -72,7 +72,7 @@ jobs: - name: Install Zig uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2.2.1 with: - version: 0.15.2 + version: 0.16.0 - name: Prefer official Ubuntu mirrors over Azure run: | @@ -156,7 +156,7 @@ jobs: - name: Install Zig uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2.2.1 with: - version: 0.15.2 + version: 0.16.0 - name: Install macOS build tools run: brew install cmake ninja @@ -209,7 +209,7 @@ jobs: - name: Install Zig uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2.2.1 with: - version: 0.15.2 + version: 0.16.0 - name: Remove Zig caches shell: pwsh diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8723a8e4..535cd871 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,38 +86,25 @@ jobs: bun-version: 1.3.14 - name: Install Zig - if: runner.os != 'macOS' uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2.2.1 with: - version: 0.15.2 + version: 0.16.0 use-cache: ${{ matrix.kind != 'windows' }} - - name: Restore Homebrew Zig cache - if: runner.os == 'macOS' - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 - with: - path: ~/Library/Caches/Homebrew/downloads - key: homebrew-zig-0.15-${{ runner.os }}-${{ runner.arch }} - restore-keys: | - homebrew-zig-0.15-${{ runner.os }}- - - - name: Install patched Zig on macOS + - name: Configure Zig cache on macOS if: runner.os == 'macOS' run: | - HOMEBREW_NO_AUTO_UPDATE=1 brew install zig@0.15 - echo "$(brew --prefix zig@0.15)/bin" >> "$GITHUB_PATH" echo "ZIG_GLOBAL_CACHE_DIR=$GITHUB_WORKSPACE/.zig-cache" >> "$GITHUB_ENV" echo "ZIG_LOCAL_CACHE_DIR=$GITHUB_WORKSPACE/.zig-cache" >> "$GITHUB_ENV" - "$(brew --prefix zig@0.15)/bin/zig" version - name: Restore Zig build cache if: runner.os == 'macOS' || matrix.kind == 'windows' uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 with: path: .zig-cache - key: zig-build-v1-${{ runner.os }}-${{ runner.arch }}-0.15.2-${{ github.run_id }}-${{ github.run_attempt }} + key: zig-build-v1-${{ runner.os }}-${{ runner.arch }}-0.16.0-${{ github.run_id }}-${{ github.run_attempt }} restore-keys: | - zig-build-v1-${{ runner.os }}-${{ runner.arch }}-0.15.2- + zig-build-v1-${{ runner.os }}-${{ runner.arch }}-0.16.0- - name: Install macOS build tools if: runner.os == 'macOS' @@ -133,6 +120,13 @@ jobs: if: matrix.kind == 'unix' run: just ci '${{ matrix.nextest_filter }}' + - name: Check scalar libghostty with runtime safety + if: runner.os == 'Linux' + env: + LIBGHOSTTY_VT_SIMD: "false" + LIBGHOSTTY_VT_OPTIMIZE: ReleaseSafe + run: just test-one ghostty + - name: Run Windows checks if: matrix.kind == 'windows' shell: pwsh @@ -165,7 +159,7 @@ jobs: - name: Install Zig uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2.2.1 with: - version: 0.15.2 + version: 0.16.0 use-cache: false - name: Restore Cargo cache diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index cd880016..880338c7 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -105,7 +105,7 @@ jobs: if: steps.plan.outputs.should_publish == 'true' uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2.2.1 with: - version: 0.15.2 + version: 0.16.0 - name: Restore cargo cache if: steps.plan.outputs.should_publish == 'true' @@ -161,26 +161,9 @@ jobs: targets: ${{ matrix.target }} - name: Install Zig - if: runner.os != 'macOS' uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2.2.1 with: - version: 0.15.2 - - - name: Restore Homebrew Zig cache - if: runner.os == 'macOS' - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 - with: - path: ~/Library/Caches/Homebrew/downloads - key: homebrew-zig-0.15-${{ runner.os }}-${{ runner.arch }} - restore-keys: | - homebrew-zig-0.15-${{ runner.os }}- - - - name: Install patched Zig on macOS - if: runner.os == 'macOS' - run: | - HOMEBREW_NO_AUTO_UPDATE=1 brew install zig@0.15 - echo "$(brew --prefix zig@0.15)/bin" >> "$GITHUB_PATH" - "$(brew --prefix zig@0.15)/bin/zig" version + version: 0.16.0 - name: Prefer official Ubuntu mirrors over Azure if: runner.os == 'Linux' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b835c7a..2e833ab2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,26 +96,9 @@ jobs: targets: ${{ matrix.target }} - name: Install Zig - if: runner.os != 'macOS' uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2.2.1 with: - version: 0.15.2 - - - name: Restore Homebrew Zig cache - if: runner.os == 'macOS' - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 - with: - path: ~/Library/Caches/Homebrew/downloads - key: homebrew-zig-0.15-${{ runner.os }}-${{ runner.arch }} - restore-keys: | - homebrew-zig-0.15-${{ runner.os }}- - - - name: Install patched Zig on macOS - if: runner.os == 'macOS' - run: | - HOMEBREW_NO_AUTO_UPDATE=1 brew install zig@0.15 - echo "$(brew --prefix zig@0.15)/bin" >> "$GITHUB_PATH" - "$(brew --prefix zig@0.15)/bin/zig" version + version: 0.16.0 - name: Prefer official Ubuntu mirrors over Azure if: runner.os == 'Linux' |
