diff --git a/.gitea/workflows/build-and-test.yml b/.gitea/workflows/build-and-test.yml index 21123bc..7e048f3 100644 --- a/.gitea/workflows/build-and-test.yml +++ b/.gitea/workflows/build-and-test.yml @@ -18,6 +18,11 @@ jobs: build-server: name: Build Server (Linux) 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: - name: Checkout code uses: actions/checkout@v4