@@ -795,6 +795,17 @@ jobs:
795
795
rustflags : " "
796
796
cache-workspaces : " ./libs -> ./target"
797
797
- uses : taiki-e/install-action@cargo-hack
798
+ - name : Install NASM for aws-lc-rs on Windows
799
+ if : runner.os == 'Windows'
800
+ uses : ilammy/setup-nasm@v1
801
+ - name : Install ninja-build tool for aws-lc-fips-sys on Windows
802
+ if : runner.os == 'Windows'
803
+ uses : seanmiddleditch/gha-setup-ninja@v6
804
+ - name : Install golang for aws-lc-fips-sys on macos
805
+ if : runner.os == 'MacOS'
806
+ uses : actions/setup-go@v6
807
+ with :
808
+ go-version : " 1.25.0"
798
809
- name : Download pavex CLI artifact
799
810
uses : actions/download-artifact@v4
800
811
with :
@@ -820,8 +831,16 @@ jobs:
820
831
pavexc self setup
821
832
- name : Run Pavex tests with multiple feature combinations
822
833
working-directory : libs
834
+ if : runner.os != 'Windows'
823
835
run : |
824
836
cargo hack -p pavex --feature-powerset --depth 2 test --tests
837
+ - name : Run Pavex tests with multiple feature combinations
838
+ working-directory : libs
839
+ if : runner.os == 'Windows'
840
+ run : |
841
+ # FIPS only builds in `release` mode on Windows
842
+ cargo hack -p pavex --feature-powerset --exclude-features="fips" --depth 2 test --tests
843
+ cargo test -p pavex --release --tests --features fips,tls_crypto_provider_aws_lc_rs
825
844
- uses : ./.github/actions/finalize-check
826
845
if : ${{ always() && github.event_name != 'push' }}
827
846
with :
@@ -1114,6 +1133,17 @@ jobs:
1114
1133
rustflags : " "
1115
1134
cache-workspaces : " ./libs -> ./target"
1116
1135
- uses : taiki-e/install-action@cargo-hack
1136
+ - name : Install NASM for aws-lc-rs on Windows
1137
+ if : runner.os == 'Windows'
1138
+ uses : ilammy/setup-nasm@v1
1139
+ - name : Install ninja-build tool for aws-lc-fips-sys on Windows
1140
+ if : runner.os == 'Windows'
1141
+ uses : seanmiddleditch/gha-setup-ninja@v6
1142
+ - name : Install golang for aws-lc-fips-sys on macos
1143
+ if : runner.os == 'MacOS'
1144
+ uses : actions/setup-go@v6
1145
+ with :
1146
+ go-version : " 1.25.0"
1117
1147
- name : Download pavex CLI artifact
1118
1148
uses : actions/download-artifact@v4
1119
1149
with :
@@ -1139,8 +1169,16 @@ jobs:
1139
1169
pavexc self setup
1140
1170
- name : Run Pavex tests with multiple feature combinations
1141
1171
working-directory : libs
1172
+ if : runner.os != 'Windows'
1142
1173
run : |
1143
1174
cargo hack -p pavex --feature-powerset --depth 2 test --tests
1175
+ - name : Run Pavex tests with multiple feature combinations
1176
+ working-directory : libs
1177
+ if : runner.os == 'Windows'
1178
+ run : |
1179
+ # FIPS only builds in `release` mode on Windows
1180
+ cargo hack -p pavex --feature-powerset --exclude-features="fips" --depth 2 test --tests
1181
+ cargo test -p pavex --release --tests --features fips,tls_crypto_provider_aws_lc_rs
1144
1182
- uses : ./.github/actions/finalize-check
1145
1183
if : ${{ always() && github.event_name != 'push' }}
1146
1184
with :
@@ -1427,6 +1465,17 @@ jobs:
1427
1465
rustflags : " "
1428
1466
cache-workspaces : " ./libs -> ./target"
1429
1467
- uses : taiki-e/install-action@cargo-hack
1468
+ - name : Install NASM for aws-lc-rs on Windows
1469
+ if : runner.os == 'Windows'
1470
+ uses : ilammy/setup-nasm@v1
1471
+ - name : Install ninja-build tool for aws-lc-fips-sys on Windows
1472
+ if : runner.os == 'Windows'
1473
+ uses : seanmiddleditch/gha-setup-ninja@v6
1474
+ - name : Install golang for aws-lc-fips-sys on macos
1475
+ if : runner.os == 'MacOS'
1476
+ uses : actions/setup-go@v6
1477
+ with :
1478
+ go-version : " 1.25.0"
1430
1479
- name : Download pavex CLI artifact
1431
1480
uses : actions/download-artifact@v4
1432
1481
with :
@@ -1446,8 +1495,16 @@ jobs:
1446
1495
pavexc self setup
1447
1496
- name : Run Pavex tests with multiple feature combinations
1448
1497
working-directory : libs
1498
+ if : runner.os != 'Windows'
1449
1499
run : |
1450
1500
cargo hack -p pavex --feature-powerset --depth 2 test --tests
1501
+ - name : Run Pavex tests with multiple feature combinations
1502
+ working-directory : libs
1503
+ if : runner.os == 'Windows'
1504
+ run : |
1505
+ # FIPS only builds in `release` mode on Windows
1506
+ cargo hack -p pavex --feature-powerset --exclude-features="fips" --depth 2 test --tests
1507
+ cargo test -p pavex --release --tests --features fips,tls_crypto_provider_aws_lc_rs
1451
1508
- uses : ./.github/actions/finalize-check
1452
1509
if : ${{ always() && github.event_name != 'push' }}
1453
1510
with :
0 commit comments