Skip to content

Commit 7d6368d

Browse files
committed
fix: remove openssl dependencies from build pipeline
1 parent 84f8032 commit 7d6368d

3 files changed

Lines changed: 11 additions & 270 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -52,29 +52,11 @@ jobs:
5252
with:
5353
targets: ${{ matrix.target }}
5454

55-
# --- Linux native build dependencies ---
56-
- name: Install system dependencies for native Linux builds
57-
if: matrix.target == 'x86_64-unknown-linux-gnu'
58-
run: |
59-
sudo apt-get update
60-
sudo apt-get install -y pkg-config libssl-dev
61-
6255
# --- Cross Compilation Setup (ARM) ---
6356
- name: Install cross for ARM builds
6457
if: matrix.target == 'aarch64-unknown-linux-gnu' || matrix.target == 'armv7-unknown-linux-gnueabihf'
6558
run: cargo install cross --git https://github.com/cross-rs/cross
6659

67-
# --- macOS OpenSSL setup ---
68-
- name: Install OpenSSL on macOS
69-
if: runner.os == 'macOS'
70-
run: |
71-
brew install --quiet openssl@3 pkg-config
72-
echo "OPENSSL_DIR=$(brew --prefix openssl@3)" >> $GITHUB_ENV
73-
echo "PKG_CONFIG_PATH=$(brew --prefix openssl@3)/lib/pkgconfig" >> $GITHUB_ENV
74-
echo "LIBRARY_PATH=$(brew --prefix openssl@3)/lib" >> $GITHUB_ENV
75-
echo "LDFLAGS=-L$(brew --prefix openssl@3)/lib" >> $GITHUB_ENV
76-
echo "CPPFLAGS=-I$(brew --prefix openssl@3)/include" >> $GITHUB_ENV
77-
7860
# --- Build step per OS ---
7961
- name: Build Harmony
8062
shell: bash
@@ -90,10 +72,6 @@ jobs:
9072
;;
9173
Linux)
9274
case "${{ matrix.target }}" in
93-
*musl*)
94-
echo "Skipping musl targets due to DBus dependency"
95-
exit 0
96-
;;
9775
aarch64-unknown-linux-gnu|armv7-unknown-linux-gnueabihf)
9876
echo "Building for ARM target ${{ matrix.target }} with cross..."
9977
cross build --release --target ${{ matrix.target }}

.github/workflows/rust.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19-
- name: Install build dependencies
20-
run: |
21-
sudo apt-get update
22-
sudo apt-get install -y pkg-config
2319
- name: Build
2420
run: cargo build --verbose
2521
# - name: Run tests

0 commit comments

Comments
 (0)