aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/validate.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/validate.yml')
-rw-r--r--.github/workflows/validate.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
new file mode 100644
index 0000000..c7be5df
--- /dev/null
+++ b/.github/workflows/validate.yml
@@ -0,0 +1,39 @@
+name: Validate TCPD (direct)
+
+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:
+ runs-on: ubuntu-latest
+ name: validate tcpd in docker
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: TCPD docker check
+ uses: ./.github/workflows/