From 99e94e81aaa49f80a82568c19fc2ad5506aec003 Mon Sep 17 00:00:00 2001 From: Joshua Smock Date: Mon, 6 Jul 2026 15:14:33 +0200 Subject: [PATCH 1/4] Attempt to run musllinux arm job on arm runner --- .github/workflows/build-binaries.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 884d691b..63316d6f 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -334,6 +334,8 @@ jobs: - uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} + - name: Install OpenSSL + run: sudo apt-get update && sudo apt-get install libssl-dev openssl - name: Build wheel uses: PyO3/maturin-action@v1.50.1 with: From fa599e87cab3e5eab1cb9bfcc62cd27420a65429 Mon Sep 17 00:00:00 2001 From: Joshua Smock Date: Mon, 6 Jul 2026 15:24:19 +0200 Subject: [PATCH 2/4] Update linux arm job --- .github/workflows/build-binaries.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 63316d6f..798cab39 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -253,7 +253,6 @@ jobs: - uses: actions/checkout@v6 with: submodules: recursive - persist-credentials: false - uses: actions-rust-lang/setup-rust-toolchain@v1.11.0 - uses: actions/setup-python@v6 with: From 37d757e02e4b277c3a73b5c46e60c1e306ba022f Mon Sep 17 00:00:00 2001 From: Joshua Smock Date: Tue, 7 Jul 2026 13:04:28 +0200 Subject: [PATCH 3/4] Add Rust cache to all jobs --- .github/workflows/build-binaries.yml | 35 ++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 798cab39..b8be5d05 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -44,6 +44,10 @@ jobs: submodules: recursive persist-credentials: false - uses: actions-rust-lang/setup-rust-toolchain@v1.11.0 + - name: Cache rust + uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + with: + shared-key: sdist - uses: actions/setup-python@v6 with: python-version: ${{ env.PYTHON_VERSION }} @@ -94,6 +98,10 @@ jobs: # freshly-installed upstream rustup with a stale (and possibly # Homebrew-linked) binary from a previous run. cache-bin: false + - name: Cache rust + uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + with: + shared-key: py${{ matrix.python-version }}-macos-x86_64 - uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -140,6 +148,10 @@ jobs: # freshly-installed upstream rustup with a stale (and possibly # Homebrew-linked) binary from a previous run. cache-bin: false + - name: Cache rust + uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + with: + shared-key: py${{ matrix.python-version }}-macos-aarch64 - uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -175,6 +187,10 @@ jobs: submodules: recursive persist-credentials: false - uses: actions-rust-lang/setup-rust-toolchain@v1.11.0 + - name: Cache rust + uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + with: + shared-key: py${{ matrix.python-version }}-${{ matrix.platform.target }} - uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -210,6 +226,10 @@ jobs: submodules: recursive persist-credentials: false - uses: actions-rust-lang/setup-rust-toolchain@v1.11.0 + - name: Cache rust + uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + with: + shared-key: py${{ matrix.python-version }}-${{ matrix.platform.target }} - uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -253,7 +273,12 @@ jobs: - uses: actions/checkout@v6 with: submodules: recursive + persist-credentials: false - uses: actions-rust-lang/setup-rust-toolchain@v1.11.0 + - name: Cache rust + uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + with: + shared-key: py${{ matrix.python-version }}-${{ matrix.platform.target }} - uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -292,6 +317,10 @@ jobs: - uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} + - name: Cache rust + uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + with: + shared-key: py${{ matrix.python-version }}-${{ matrix.platform.target }} - name: Install OpenSSL run: sudo apt-get update && sudo apt-get install libssl-dev openssl - name: Build wheel @@ -333,8 +362,10 @@ jobs: - uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - - name: Install OpenSSL - run: sudo apt-get update && sudo apt-get install libssl-dev openssl + - name: Cache rust + uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + with: + shared-key: py${{ matrix.python-version }}-${{ matrix.platform.target }} - name: Build wheel uses: PyO3/maturin-action@v1.50.1 with: From d7ba19e10f5acba508ef538124db30d29e0347b5 Mon Sep 17 00:00:00 2001 From: Joshua Smock Date: Fri, 10 Jul 2026 10:05:16 +0200 Subject: [PATCH 4/4] Remove OpenSSL from musllinux job --- .github/workflows/build-binaries.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index b8be5d05..fa9006dc 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -321,8 +321,6 @@ jobs: uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 with: shared-key: py${{ matrix.python-version }}-${{ matrix.platform.target }} - - name: Install OpenSSL - run: sudo apt-get update && sudo apt-get install libssl-dev openssl - name: Build wheel uses: PyO3/maturin-action@v1.50.1 with: