ci: validate Linux CLI release artifacts

This commit is contained in:
Josh Lambert
2026-06-04 22:52:27 -04:00
parent 6cab5f18e7
commit 8295ab3096
+37
View File
@@ -185,6 +185,42 @@ jobs:
./dist/@kilocode/cli-darwin-arm64/bin/kilo --version
./dist/@kilocode/cli-darwin-arm64/bin/kilo --help >/dev/null
# kilocode_change end
# kilocode_change start - execute native Linux x64 and arm64 binaries before publishing them
validate-linux:
name: Validate CLI (linux-${{ matrix.arch }})
needs: build-cli
strategy:
fail-fast: false
matrix:
include:
- arch: x64
runner: ubuntu-24.04
uname: x86_64
- arch: arm64
runner: ubuntu-24.04-arm
uname: aarch64
runs-on: ${{ matrix.runner }}
timeout-minutes: 15
steps:
- uses: actions/download-artifact@v8
with:
name: kilo-cli.tar.zst
path: /tmp
skip-decompress: true
- name: Unpack CLI dist
run: |
mkdir -p dist
tar --zstd -xf /tmp/kilo-cli.tar.zst -C dist
- name: Run CLI smoke test
run: |
test "$(uname -m)" = "${{ matrix.uname }}"
./dist/@kilocode/cli-linux-${{ matrix.arch }}/bin/kilo --version
./dist/@kilocode/cli-linux-${{ matrix.arch }}/bin/kilo --help >/dev/null
# kilocode_change end
# kilocode_change start
# Run smoke tests against CLI assets uploaded to the draft GitHub release
# before publishing the release and package artifacts.
@@ -206,6 +242,7 @@ jobs:
- build-cli
- build-vscode
- validate-darwin-arm64 # kilocode_change
- validate-linux # kilocode_change
- smoke-test
runs-on: ubuntu-24.04
steps: