-
Notifications
You must be signed in to change notification settings - Fork 42
37 lines (37 loc) · 906 Bytes
/
ci.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
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