Skip to content

Commit ea2ec86

Browse files
committed
Adjust ubuntu and macos work flows to run tests against rustlsv0.23.35
1 parent b0ed669 commit ea2ec86

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

.github/workflows/macos-build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,30 @@ jobs:
5959
cargo clippy --all-features -- -D warnings
6060
cd ../rustls-wolfcrypt-provider
6161
cargo clippy --all-features -- -D warnings
62+
63+
- name: Run tests of rustls v0.23.35
64+
run: |
65+
mkdir rustlsv0.23.35-test-workspace
66+
cd rustlsv0.23.35-test-workspace
67+
git clone https://github.com/rustls/rustls.git
68+
cd rustls
69+
git fetch --tags
70+
selected_tag=$(git tag -l "v/0\.23\.35")
71+
git checkout "$selected_tag"
72+
cd ..
73+
git clone https://github.com/helkoulak/rustls-wolfcrypt-provider.git
74+
cd rustls-wolfcrypt-provider/
75+
git checkout quic-support
76+
cd wolfcrypt-rs/
77+
make build
78+
cd ../rustls-wolfcrypt-provider/
79+
cargo build --all-features --release
80+
cd ../..
81+
git clone https://github.com/helkoulak/rustls_v0.23.35_test_files.git
82+
cp -r ./rustls_v0.23.35_test_files/tests .
83+
cp ./rustls_v0.23.35_test_files/Cargo.toml .
84+
cp ./rustls_v0.23.35_test_files/provider_files/Cargo.toml ./rustls-wolfcrypt-provider/rustls-wolfcrypt-provider/
85+
rm -rf rustls_v0.23.35_test_files
86+
cargo test -p tests --test all_suites --all-features
87+
cd ..
88+
rm -rf rustlsv0.23.35-test-workspace

.github/workflows/ubuntu-build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,31 @@ jobs:
6060
cargo clippy --all-features -- -D warnings
6161
cd ../rustls-wolfcrypt-provider
6262
cargo clippy --all-features -- -D warnings
63+
64+
- name: Run tests of rustls v0.23.35
65+
run: |
66+
mkdir rustlsv0.23.35-test-workspace
67+
cd rustlsv0.23.35-test-workspace
68+
git clone https://github.com/rustls/rustls.git
69+
cd rustls
70+
git fetch --tags
71+
selected_tag=$(git tag -l "v/0\.23\.35")
72+
git checkout "$selected_tag"
73+
cd ..
74+
git clone https://github.com/helkoulak/rustls-wolfcrypt-provider.git
75+
cd rustls-wolfcrypt-provider/
76+
git checkout quic-support
77+
cd wolfcrypt-rs/
78+
make build
79+
cd ../rustls-wolfcrypt-provider/
80+
cargo build --all-features --release
81+
cd ../..
82+
git clone https://github.com/helkoulak/rustls_v0.23.35_test_files.git
83+
cp -r ./rustls_v0.23.35_test_files/tests .
84+
cp ./rustls_v0.23.35_test_files/Cargo.toml .
85+
cp ./rustls_v0.23.35_test_files/provider_files/Cargo.toml ./rustls-wolfcrypt-provider/rustls-wolfcrypt-provider/
86+
rm -rf rustls_v0.23.35_test_files
87+
cargo test -p tests --test all_suites --all-features
88+
cd ..
89+
rm -rf rustlsv0.23.35-test-workspace
90+

0 commit comments

Comments
 (0)