Skip to content

Commit

Permalink
Add github action for mbedtls
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Sep 6, 2023
1 parent 3d5657c commit b29d4b4
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/mbedtls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
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: |
git clone https://github.com/Mbed-TLS/mbedtls
cd mbedtls
cmake --build .
cd build
make
cd ../..
- name: Compile picotls
run: |
cmake "-DWITH_MBEDTLS=ON" .
make
- name: Run test
run: |
./test-mbedtls.t

0 comments on commit b29d4b4

Please sign in to comment.