File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,21 @@ jobs:
67
67
68
68
- name : Install OpenSSL (Windows)
69
69
if : runner.os == 'Windows'
70
- run : vcpkg install openssl:x64-windows
70
+ run : |
71
+ vcpkg install openssl:x64-windows
72
+ echo "OPENSSL_DIR=$(vcpkg list | grep openssl | cut -d' ' -f1)" >> $GITHUB_ENV
71
73
72
74
- name : Install Linux ARM dependencies
73
75
if : matrix.target == 'aarch64-unknown-linux-gnu'
74
76
run : |
77
+ sudo dpkg --add-architecture arm64
75
78
sudo apt-get update
76
- sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
79
+ sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \
80
+ libssl-dev:arm64 pkg-config
81
+
82
+ echo "OPENSSL_DIR=/usr/lib/aarch64-linux-gnu" >> $GITHUB_ENV
83
+ echo "OPENSSL_LIB_DIR=/usr/lib/aarch64-linux-gnu" >> $GITHUB_ENV
84
+ echo "OPENSSL_INCLUDE_DIR=/usr/include/aarch64-linux-gnu" >> $GITHUB_ENV
77
85
78
86
- name : Set linker for Linux ARM
79
87
if : matrix.target == 'aarch64-unknown-linux-gnu'
@@ -101,4 +109,4 @@ jobs:
101
109
uses : actions/upload-artifact@v4
102
110
with :
103
111
name : ${{ matrix.asset_name }}
104
- path : target/${{ matrix.target }}/release/${{ matrix.artifact_name }}
112
+ path : target/${{ matrix.target }}/release/${{ matrix.artifact_name }}
You can’t perform that action at this time.
0 commit comments