ci: force linux target for build-server clippy/test
Some checks failed
Build and Test / Build Server (Linux) (push) Failing after 4m6s
Build and Test / Build Agent (Windows) (push) Failing after 7m4s
Build and Test / Security Audit (push) Failing after 5m1s
Build and Test / Build Summary (push) Has been skipped
Run Tests / Test Server (push) Failing after 3m11s
Run Tests / Test Agent (push) Failing after 2m39s
Run Tests / Code Coverage (push) Has started running
Run Tests / Lint and Format Check (push) Has been cancelled
Some checks failed
Build and Test / Build Server (Linux) (push) Failing after 4m6s
Build and Test / Build Agent (Windows) (push) Failing after 7m4s
Build and Test / Security Audit (push) Failing after 5m1s
Build and Test / Build Summary (push) Has been skipped
Run Tests / Test Server (push) Failing after 3m11s
Run Tests / Test Agent (push) Failing after 2m39s
Run Tests / Code Coverage (push) Has started running
Run Tests / Lint and Format Check (push) Has been cancelled
.cargo/config.toml defaults to x86_64-pc-windows-msvc for local Windows dev, which made the CI clippy/test steps (no explicit --target) try to compile for an uninstalled cross target (E0463 can't find crate for core). Set CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu for the build-server job. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -18,6 +18,11 @@ jobs:
|
|||||||
build-server:
|
build-server:
|
||||||
name: Build Server (Linux)
|
name: Build Server (Linux)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# .cargo/config.toml defaults to the windows-msvc target for local Windows dev.
|
||||||
|
# On the Linux runner, force the host target so clippy/test (which do not pass
|
||||||
|
# an explicit --target) build for Linux instead of an uninstalled cross target.
|
||||||
|
env:
|
||||||
|
CARGO_BUILD_TARGET: x86_64-unknown-linux-gnu
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user