Skip to content

fix(ci): ziglang PATH fix for Linux builds - #954

Merged
ajianaz merged 1 commit into
mainfrom
develop
Aug 8, 2026
Merged

ajianaz merged 1 commit into
mainfrom
develop

Conversation

@ajianaz

@ajianaz ajianaz commented Aug 8, 2026 •

Copy link
Copy Markdown
Collaborator

What

Fix zig: command not found pada release workflow. ziglang pip package installs ke ~/.local/bin yang tidak ada di PATH ubuntu-24.04 runner.

Why

Release workflow run 31254262977 gagal di dua Linux build jobs karena zig binary tidak ditemukan setelah pip install ziglang. pip install ke user site-packages (~/.local/bin/) sementara GitHub Actions ubuntu-24.04 runner tidak include path tersebut di PATH default.

Changes

  • Add ~/.local/bin to $GITHUB_PATH setelah pip install ziglang
  • $GITHUB_PATH adalah mekanisme standar GitHub Actions untuk menambah PATH

Testing

CI akan verify:

  1. zig version berjalan tanpa error
  2. cargo zigbuild --target x86_64-unknown-linux-gnu.2.17 sukses
  3. GLIBC verification step berjalan

ziglang pip package installs zig binary to ~/.local/bin which is not
in PATH on ubuntu-24.04 runners. Add it to GITHUB_PATH so subsequent
steps can find the zig command.

Co-authored-by: ajianaz <[email protected]>
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

⚠️ Review could not complete. Cora produced an empty result. Check the workflow logs for errors.


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit 11578e5 into main Aug 8, 2026
14 of 15 checks passed
ajianaz added a commit that referenced this pull request Aug 13, 2026
fix(ci): ziglang PATH fix for Linux builds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant