Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- x86_64-unknown-linux-musl
- x86_64-pc-windows-msvc
- aarch64-apple-darwin
- x86_64-apple-darwin
include:
- target: x86_64-unknown-linux-musl
os: ubuntu-24.04
Expand All @@ -30,9 +29,6 @@ jobs:
- target: aarch64-apple-darwin
os: macos-26
display-os: macOS – aarch64
- target: x86_64-apple-darwin
os: macos-26
display-os: macOS – x86_64

name: ${{ matrix.display-os }}
runs-on: ${{ matrix.os }}
Expand All @@ -53,34 +49,6 @@ jobs:
sudo apt-get update
sudo apt-get install -y musl-tools

# On x86_64, this environment variable specifies to the openssl-sys crate
# where to find the OpenSSL library.
- name: Set OpenSSL env (x86_64)
if: matrix.target == 'x86_64-apple-darwin'
run: echo "X86_64_APPLE_DARWIN_OPENSSL_DIR=${{ github.workspace }}/openssl-x86_64" >> $GITHUB_ENV

- name: Get OpenSSL cache month (x86_64)
if: matrix.target == 'x86_64-apple-darwin'
id: cache-date
run: echo "month=$(date +%Y-%m)" >> $GITHUB_OUTPUT

- name: Cache x86_64 OpenSSL
if: matrix.target == 'x86_64-apple-darwin'
id: cache-openssl-x86
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0
with:
path: ${{ env.X86_64_APPLE_DARWIN_OPENSSL_DIR }}
key: openssl-x86_64-${{ runner.os }}-${{ steps.cache-date.outputs.month }}

# To cross-compile for x86_64 from an ARM-based macOS runner, we need to have the
# x86_64 OpenSSL libraries installed locally.
- name: Download x86_64 OpenSSL
if: matrix.target == 'x86_64-apple-darwin' && steps.cache-openssl-x86.outputs.cache-hit != 'true'
run: |
arch -x86_64 brew fetch --bottle-tag=tahoe openssl@3.5
mkdir -p $X86_64_APPLE_DARWIN_OPENSSL_DIR
tar xzf $(arch -x86_64 brew --cache --bottle-tag=tahoe openssl@3.5) -C $X86_64_APPLE_DARWIN_OPENSSL_DIR --strip-components=2

- name: Cache Dependencies
uses: swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # 2.9.1

Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- x86_64-unknown-linux-musl
- x86_64-pc-windows-msvc
- aarch64-apple-darwin
- x86_64-apple-darwin
include:
- target: x86_64-unknown-linux-musl
os: ubuntu-24.04
Expand All @@ -30,9 +29,6 @@ jobs:
- target: aarch64-apple-darwin
os: macos-26
display-os: macOS – aarch64
- target: x86_64-apple-darwin
os: macos-26
display-os: macOS – x86_64

name: ${{ matrix.display-os }}
runs-on: ${{ matrix.os }}
Expand All @@ -52,34 +48,6 @@ jobs:
sudo apt-get update
sudo apt-get install -y musl-tools

# On x86_64, this environment variable specifies to the openssl-sys crate
# where to find the OpenSSL library.
- name: Set OpenSSL env (x86_64)
if: matrix.target == 'x86_64-apple-darwin'
run: echo "X86_64_APPLE_DARWIN_OPENSSL_DIR=${{ github.workspace }}/openssl-x86_64" >> $GITHUB_ENV

- name: Get OpenSSL cache month (x86_64)
if: matrix.target == 'x86_64-apple-darwin'
id: cache-date
run: echo "month=$(date +%Y-%m)" >> $GITHUB_OUTPUT

- name: Cache x86_64 OpenSSL
if: matrix.target == 'x86_64-apple-darwin'
id: cache-openssl-x86
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0
with:
path: ${{ env.X86_64_APPLE_DARWIN_OPENSSL_DIR }}
key: openssl-x86_64-${{ runner.os }}-${{ steps.cache-date.outputs.month }}

# To cross-compile for x86_64 from an ARM-based macOS runner, we need to have the
# x86_64 OpenSSL libraries installed locally.
- name: Download x86_64 OpenSSL
if: matrix.target == 'x86_64-apple-darwin' && steps.cache-openssl-x86.outputs.cache-hit != 'true'
run: |
arch -x86_64 brew fetch --bottle-tag=tahoe openssl@3.5
mkdir -p $X86_64_APPLE_DARWIN_OPENSSL_DIR
tar xzf $(arch -x86_64 brew --cache --bottle-tag=tahoe openssl@3.5) -C $X86_64_APPLE_DARWIN_OPENSSL_DIR --strip-components=2

- name: Cache Dependencies
uses: swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # 2.9.1

Expand Down
Loading