diff --git a/.github/workflows/build-python-release.reusable.yaml b/.github/workflows/build-python-release.reusable.yaml index adacde0d5..86b57c2d8 100644 --- a/.github/workflows/build-python-release.reusable.yaml +++ b/.github/workflows/build-python-release.reusable.yaml @@ -16,28 +16,32 @@ jobs: fail-fast: false matrix: _: - - runs_on: ubuntu-latest + - name: x86_64-unknown-linux-gnu + runs_on: ubuntu-latest target: x86_64 - name: x86_64-unknown-linux-gnu manylinux: 'auto' - - runs_on: ubuntu-latest + - name: aarch64-unknown-linux-gnu + runs_on: ubuntu-latest target: aarch64 - name: aarch64-unknown-linux-gnu - manylinux: '2_17' + manylinux: 'auto' + env: + # Workaround ring 0.17 build issue, see https://github.com/astral-sh/uv/pull/3444 + CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8" - - runs_on: macos-latest + - name: x86_64-apple-darwin + runs_on: macos-latest target: x86_64 - name: x86_64-apple-darwin - - - runs_on: macos-latest + + - name: aarch64-apple-darwin + runs_on: macos-latest target: aarch64 - name: aarch64-apple-darwin - - - runs_on: windows-latest + + - name: x86_64-pc-windows-msvc + runs_on: windows-latest target: x64 - name: x86_64-pc-windows-msvc - + + name: ${{ matrix._.name }} runs-on: ${{ matrix._.runs_on }} steps: - uses: actions/checkout@v4 @@ -54,6 +58,7 @@ jobs: args: --release --out engine/language_client_python/dist --manifest-path engine/language_client_python/Cargo.toml sccache: "true" manylinux: ${{ matrix._.manylinux }} + env: ${{ matrix._.env }} before-script-linux: | if command -v yum &> /dev/null; then yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig libatomic