Merge pull request #56 from virtualsquare/mbedtls-rebased #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CI" | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
smoke: | |
name: "Smoke test" | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
steps: | |
- name: "Check out" | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: "Install dependencies (Linux)" | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y autoconf automake | |
- name: "Install dependencies (macOS)" | |
if: runner.os == 'macOS' | |
run: | | |
brew install autoconf automake libtool | |
autoupdate | |
- name: "Build" | |
run: | | |
autoreconf -fis | |
./configure --prefix=/opt/vde | |
make | |
sudo make install | |
- name: "Smoke test" | |
run: | | |
/opt/vde/bin/vde_switch --version |