@@ -80,53 +80,27 @@ jobs:
8080 scoop install llvm yasm
8181 - if : matrix.os == 'ubuntu-22.04' && matrix.build_type == 'portable'
8282 name : Build linux portable (x86_64)
83- run : |
84- export PWD_DIR=$(pwd)
85- curl -LO https://www.openssl.org/source/openssl-1.1.1s.tar.gz
86- tar -xzf openssl-1.1.1s.tar.gz
87- cd openssl-1.1.1s
88- ./Configure linux-x86_64 shared
89- make
90- cd ..
91- export OPENSSL_LIB_DIR=${PWD_DIR}/openssl-1.1.1s
92- export OPENSSL_INCLUDE_DIR=${PWD_DIR}/openssl-1.1.1s/include
93- export OPENSSL_STATIC=1
94- cargo build --release --features portable
83+ run : cargo build --release --features portable,vendored-openssl
9584 - if : matrix.os == 'ubuntu-22.04' && matrix.build_type == 'standard'
9685 name : Build linux (x86_64)
9786 run : cargo build --release
9887 - if : matrix.os == 'ubuntu-22.04-arm' && matrix.build_type == 'portable'
9988 name : Build linux portable (aarch64)
100- run : |
101- export PWD_DIR=$(pwd)
102- curl -LO https://www.openssl.org/source/openssl-1.1.1s.tar.gz
103- tar -xzf openssl-1.1.1s.tar.gz
104- cd openssl-1.1.1s
105- ./Configure linux-aarch64 shared
106- make
107- cd ..
108- export OPENSSL_LIB_DIR=${PWD_DIR}/openssl-1.1.1s
109- export OPENSSL_INCLUDE_DIR=${PWD_DIR}/openssl-1.1.1s/include
110- export OPENSSL_STATIC=1
111- cargo build --release --features portable
89+ run : cargo build --release --features portable,vendored-openssl
11290 - if : matrix.os == 'ubuntu-22.04-arm' && matrix.build_type == 'standard'
11391 name : Build linux (aarch64)
11492 run : cargo build --release
11593 - if : matrix.os == 'macos-15-intel' && matrix.build_type == 'portable'
11694 name : Build macos portable (x86_64)
117- run : |
118- export OPENSSL_LIB_DIR=/usr/local/opt/openssl@1.1/lib
119- export OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl@1.1/include
120- export OPENSSL_STATIC=1
121- cargo build --release --features portable
95+ run : cargo build --release --features portable,vendored-openssl
12296 - if : matrix.os == 'macos-15' && matrix.build_type == 'standard'
12397 name : Build macos (aarch64)
12498 run : |
12599 export OPENSSL_LIB_DIR=/opt/homebrew/opt/openssl@1.1/lib
126100 export OPENSSL_INCLUDE_DIR=/opt/homebrew/opt/openssl@1.1/include
127101 export OPENSSL_STATIC=1
128102 cargo build --release
129- - if : matrix.os == 'windows-2022'
103+ - if : matrix.os == 'windows-2022' && matrix.build_type == 'standard'
130104 name : Build windows
131105 run : cargo build --release
132106 - name : Get the Version
0 commit comments