Fix build-linux CI — add musl target, use dev version #20

Open
mik-tf wants to merge 1 commit from development_fix_ci_build into development
Member

Summary

  • Fix setup_linux_toolchain() in build_lib.sh to always run rustup target add when a target is specified. It was skipping x86_64-unknown-linux-musl, assuming the builder image had it pre-installed. It doesn't — every build-linux CI run fails with can't find crate for core.
  • Change VERSION from 0.3.9 to dev in buildenv.sh so publish_binaries() uploads to the dev package slot, matching what install.sh expects.

Once merged and the build-linux workflow succeeds, the zinit binaries will be available at forge.ourworld.tf/api/packages/geomind_code/generic/zinit/dev/.

This unblocks hero_ledger PR #37 (bootstrap CI).

Ref #19

## Summary - Fix `setup_linux_toolchain()` in `build_lib.sh` to always run `rustup target add` when a target is specified. It was skipping `x86_64-unknown-linux-musl`, assuming the builder image had it pre-installed. It doesn't — every build-linux CI run fails with `can't find crate for core`. - Change `VERSION` from `0.3.9` to `dev` in `buildenv.sh` so `publish_binaries()` uploads to the `dev` package slot, matching what `install.sh` expects. Once merged and the build-linux workflow succeeds, the zinit binaries will be available at `forge.ourworld.tf/api/packages/geomind_code/generic/zinit/dev/`. This unblocks [hero_ledger PR #37](https://forge.ourworld.tf/lhumina_code/hero_ledger/pulls/37) (bootstrap CI). Ref #19
fix(ci): add musl target in setup_linux_toolchain, use dev version
Some checks failed
Build and Test / build (push) Failing after 1m0s
Build and Test / build (pull_request) Failing after 53s
Tests / test (push) Failing after 1m53s
Tests / test (pull_request) Failing after 1m46s
e8731d9b35
setup_linux_toolchain() skipped `rustup target add` for
x86_64-unknown-linux-musl, assuming the builder image had it. It doesn't,
causing every build-linux CI run to fail with "can't find crate for core".

Also change VERSION from 0.3.9 to dev in buildenv.sh so publish_binaries()
uploads to the "dev" package slot, matching what install.sh expects.

Ref #19
mik-tf changed title from WIP: Fix build-linux CI — add musl target, use dev version to Fix build-linux CI — add musl target, use dev version 2026-02-26 17:46:59 +00:00
Some checks failed
Build and Test / build (push) Failing after 1m0s
Build and Test / build (pull_request) Failing after 53s
Tests / test (push) Failing after 1m53s
Tests / test (pull_request) Failing after 1m46s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin development_fix_ci_build:development_fix_ci_build
git switch development_fix_ci_build

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch development
git merge --no-ff development_fix_ci_build
git switch development_fix_ci_build
git rebase development
git switch development
git merge --ff-only development_fix_ci_build
git switch development_fix_ci_build
git rebase development
git switch development
git merge --no-ff development_fix_ci_build
git switch development
git merge --squash development_fix_ci_build
git switch development
git merge --ff-only development_fix_ci_build
git switch development
git merge development_fix_ci_build
git push origin development
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
geomind_code/zinit!20
No description provided.