fix(ci): build dx from source for glibc compat
The cargo-binstall prebuilt dx binary requires GLIBC 2.38+ which is unavailable in rust:1.89-bookworm. Build from source with cargo install instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -36,9 +36,7 @@ jobs:
|
|||||||
- run: rustup component add rustfmt
|
- run: rustup component add rustfmt
|
||||||
- run: cargo fmt --check
|
- run: cargo fmt --check
|
||||||
- name: Install dx CLI
|
- name: Install dx CLI
|
||||||
run: |
|
run: cargo install dioxus-cli@0.7.3 --locked
|
||||||
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
|
|
||||||
cargo binstall dioxus-cli@0.7.3 -y --force
|
|
||||||
- name: RSX format check
|
- name: RSX format check
|
||||||
run: dx fmt --check
|
run: dx fmt --check
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user