File tree 6 files changed +38
-3
lines changed 6 files changed +38
-3
lines changed Original file line number Diff line number Diff line change 72
72
runs-on : windows-latest
73
73
strategy :
74
74
fail-fast : false
75
- matrix :
76
- os : [ windows-latest ]
77
75
steps :
78
76
- uses : actions/checkout@v3
79
77
with :
88
86
run : |
89
87
./scripts/run-windows-debug-crt-static-test.sh
90
88
89
+ ssl-test :
90
+ if : github.repository_owner == 'aws'
91
+ name : " SSL Test"
92
+ runs-on : ${{ matrix.os }}
93
+ strategy :
94
+ fail-fast : false
95
+ matrix :
96
+ os : [ windows-latest, ubuntu-latest, macos-latest ]
97
+ steps :
98
+ - uses : actions/checkout@v3
99
+ with :
100
+ submodules : ' recursive'
101
+ - uses : dtolnay/rust-toolchain@stable
102
+ id : toolchain
103
+ - name : Set Rust toolchain override
104
+ run : rustup override set ${{ steps.toolchain.outputs.name }}
105
+ - name : install bindgen-cli
106
+ run : cargo install --force --locked bindgen-cli
107
+ - uses : ilammy/setup-nasm@v1
108
+ - name : " Test aws-lc-sys package w/ SSL enabled"
109
+ working-directory : ./aws-lc-sys
110
+ run : cargo package --features ssl
111
+ - uses : actions/setup-go@v4
112
+ with :
113
+ go-version : ' >=1.18'
114
+ - name : Install ninja-build tool
115
+ uses : seanmiddleditch/gha-setup-ninja@v4
116
+ - name : " Test aws-lc-fips-sys package w/ SSL enabled"
117
+ working-directory : ./aws-lc-fips-sys
118
+ run : cargo package --features ssl
119
+
91
120
links-crate-tests :
92
121
if : github.repository_owner == 'aws'
93
122
name : sys crate tests
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ include = [
30
30
" !/aws-lc/tests/**" ,
31
31
" !/aws-lc/third_party/**" ,
32
32
" !/aws-lc/util/**" ,
33
+ " !/aws-lc/tool/**" ,
34
+ " !/aws-lc/tool-openssl/**" ,
33
35
" /aws-lc/tests/compiler_features_tests/**.c" ,
34
36
" /aws-lc/third_party/fiat/**/LICENSE" ,
35
37
" /aws-lc/third_party/fiat/**/*.h" ,
Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ impl CmakeBuilder {
177
177
178
178
// Build flags that minimize our crate size.
179
179
cmake_cfg. define ( "BUILD_TESTING" , "OFF" ) ;
180
+ cmake_cfg. define ( "BUILD_TOOL" , "OFF" ) ;
180
181
if cfg ! ( feature = "ssl" ) {
181
182
cmake_cfg. define ( "BUILD_LIBSSL" , "ON" ) ;
182
183
} else {
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ include = [
28
28
" !/aws-lc/tests/**" ,
29
29
" !/aws-lc/third_party/**" ,
30
30
" !/aws-lc/util/**" ,
31
+ " !/aws-lc/tool/**" ,
32
+ " !/aws-lc/tool-openssl/**" ,
31
33
" /aws-lc/tests/compiler_features_tests/**.c" ,
32
34
" /aws-lc/third_party/fiat/**/LICENSE" ,
33
35
" /aws-lc/third_party/fiat/**/*.h" ,
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ impl CcBuilder {
202
202
set_env_for_target ( "CC" , & cc) ;
203
203
}
204
204
if let Some ( cxx) = optional_env_optional_crate_target ( "CXX" ) {
205
- set_env_for_target ( "CC " , & cxx) ;
205
+ set_env_for_target ( "CXX " , & cxx) ;
206
206
}
207
207
208
208
if target_arch ( ) == "x86" && !compiler_is_msvc {
Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ impl CmakeBuilder {
110
110
111
111
// Build flags that minimize our crate size.
112
112
cmake_cfg. define ( "BUILD_TESTING" , "OFF" ) ;
113
+ cmake_cfg. define ( "BUILD_TOOL" , "OFF" ) ;
113
114
if cfg ! ( feature = "ssl" ) {
114
115
cmake_cfg. define ( "BUILD_LIBSSL" , "ON" ) ;
115
116
} else {
You can’t perform that action at this time.
0 commit comments