Skip to content

Commit 3e8848c

Browse files
#2 CI/CD
1 parent 721c181 commit 3e8848c

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/main.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ jobs:
5454
- name: Add target
5555
run: rustup target add ${{ matrix.target }}
5656

57+
- name: Install OpenSSL (Linux)
58+
if: runner.os == 'Linux'
59+
run: |
60+
sudo apt-get update
61+
sudo apt-get install -y pkg-config libssl-dev
62+
63+
- name: Install OpenSSL (macOS)
64+
if: runner.os == 'macOS'
65+
run: brew install openssl
66+
67+
- name: Install OpenSSL (Windows)
68+
if: runner.os == 'Windows'
69+
run: vcpkg install openssl:x64-windows
70+
5771
- name: Install Linux ARM dependencies
5872
if: matrix.target == 'aarch64-unknown-linux-gnu'
5973
run: |
@@ -86,4 +100,4 @@ jobs:
86100
uses: actions/upload-artifact@v4
87101
with:
88102
name: ${{ matrix.asset_name }}
89-
path: target/${{ matrix.target }}/release/${{ matrix.artifact_name }}
103+
path: target/${{ matrix.target }}/release/${{ matrix.artifact_name }}

0 commit comments

Comments
 (0)