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

on: push

jobs:
  tcpd-ubuntu:
    name: check TCPD
    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:
    - uses: 'docker'
      image: 'Dockerfile'