aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/validate.yml
blob: 849e89bf047f1f7f09baefb67f54215f9a75028b (plain)
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
name: Validate TCPD

on: push

jobs:
  tcpd-ubuntu:
    name: check TCPD (direct)
    runs-on: ubuntu-latest

    steps:
      - name: Install dependencies
        run: sudo apt-get update && sudo apt-get install build-essential
        shell: bash

      - name: Install Python 3.6
        uses: actions/setup-python@v2
        with:
          python-version: '3.6'

      - name: Checkout code
        uses: actions/checkout@v2

      - name: Ensure clean
        run: make clean
        shell: bash

      - name: Build and verify
        run: make test
        shell: bash

  tcpd-docker:
    name: check TCPD (docker)
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: TCPD docker check
        uses: ./.github/workflows/