Skip to content

Commit f91748b

Browse files
не ну а че #4
1 parent 02838fc commit f91748b

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/main.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,21 @@ jobs:
6767

6868
- name: Install OpenSSL (Windows)
6969
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
7173
7274
- name: Install Linux ARM dependencies
7375
if: matrix.target == 'aarch64-unknown-linux-gnu'
7476
run: |
77+
sudo dpkg --add-architecture arm64
7578
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
7785
7886
- name: Set linker for Linux ARM
7987
if: matrix.target == 'aarch64-unknown-linux-gnu'
@@ -101,4 +109,4 @@ jobs:
101109
uses: actions/upload-artifact@v4
102110
with:
103111
name: ${{ matrix.asset_name }}
104-
path: target/${{ matrix.target }}/release/${{ matrix.artifact_name }}
112+
path: target/${{ matrix.target }}/release/${{ matrix.artifact_name }}

0 commit comments

Comments
 (0)