-
Notifications
You must be signed in to change notification settings - Fork 143
44 lines (38 loc) · 1.01 KB
/
mbedtls.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
name: "MbedTLS-test"
on: [push, pull_request]
jobs:
mbedtls:
name: MbedTLS-test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
submodules: 'recursive'
- name: Installing MbedTLS
run: |
cd ..
git clone https://github.com/Mbed-TLS/mbedtls
cd mbedtls
echo "cloned mbedtls"
mkdir build
cd build
cmake -S .. .
echo "cmake done"
make
echo "compiled MbedTLS"
pwd
cd ../../picotls
- name: Compile picotls
run: |
echo "building picotls with MbedTLS"
pwd
cmake "-DWITH_MBEDTLS=ON" .
make
- name: Run test
run: |
./test-mbedtls.t