diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-06 00:50:41 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-06 00:50:41 +0300 |
| commit | dbbe1f66ba02ecbceac8cad8d79a3ae664a8159a (patch) | |
| tree | dc8c19b41f0ea4386d840c35ae23da9f7e34d5f5 /.github/workflows | |
| parent | c113f5713fc759c128a4dc07149140956362cece (diff) | |
build: add libghostty simd toggle for ci
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build-artifacts-manual.yml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/build-artifacts-manual.yml b/.github/workflows/build-artifacts-manual.yml index c880a852..458c8209 100644 --- a/.github/workflows/build-artifacts-manual.yml +++ b/.github/workflows/build-artifacts-manual.yml @@ -22,6 +22,14 @@ on: - ReleaseFast - ReleaseSmall - Debug + libghostty_simd: + description: build libghostty-vt with SIMD-accelerated code paths + required: true + default: 'false' + type: choice + options: + - 'false' + - 'true' permissions: contents: read @@ -45,6 +53,7 @@ jobs: name: herdr-linux-aarch64 env: LIBGHOSTTY_VT_OPTIMIZE: ${{ inputs.libghostty_optimize }} + LIBGHOSTTY_VT_SIMD: ${{ inputs.libghostty_simd }} steps: - uses: actions/checkout@v4 @@ -81,13 +90,14 @@ jobs: echo "commit=$GITHUB_SHA" echo "target=${{ matrix.target }}" echo "libghostty_vt_optimize=$LIBGHOSTTY_VT_OPTIMIZE" + echo "libghostty_vt_simd=$LIBGHOSTTY_VT_SIMD" } >> BUILD_INFO.txt python3 -c "import hashlib, pathlib; artifact = pathlib.Path('${{ matrix.name }}'); print(f'sha256={hashlib.sha256(artifact.read_bytes()).hexdigest()} {artifact.name}')" >> BUILD_INFO.txt - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: ${{ matrix.name }}-${{ inputs.libghostty_optimize }} + name: ${{ matrix.name }}-${{ inputs.libghostty_optimize }}-simd-${{ inputs.libghostty_simd }} path: | ${{ matrix.name }} BUILD_INFO.txt @@ -108,6 +118,7 @@ jobs: name: herdr-macos-aarch64 env: LIBGHOSTTY_VT_OPTIMIZE: ${{ inputs.libghostty_optimize }} + LIBGHOSTTY_VT_SIMD: ${{ inputs.libghostty_simd }} steps: - uses: actions/checkout@v4 @@ -140,13 +151,14 @@ jobs: echo "commit=$GITHUB_SHA" echo "target=${{ matrix.target }}" echo "libghostty_vt_optimize=$LIBGHOSTTY_VT_OPTIMIZE" + echo "libghostty_vt_simd=$LIBGHOSTTY_VT_SIMD" } >> BUILD_INFO.txt python3 -c "import hashlib, pathlib; artifact = pathlib.Path('${{ matrix.name }}'); print(f'sha256={hashlib.sha256(artifact.read_bytes()).hexdigest()} {artifact.name}')" >> BUILD_INFO.txt - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: ${{ matrix.name }}-${{ inputs.libghostty_optimize }} + name: ${{ matrix.name }}-${{ inputs.libghostty_optimize }}-simd-${{ inputs.libghostty_simd }} path: | ${{ matrix.name }} BUILD_INFO.txt |
