From 165043b87e72f7ef4d5579808e6b0eedcc7ff675 Mon Sep 17 00:00:00 2001 From: Marc Sune Date: Sun, 25 Aug 2024 12:17:29 +0200 Subject: [PATCH] Tc --- .github/workflows/ci.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..cb7211b --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,24 @@ +name: ci + +on: + push: + pull_request: + +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + +jobs: + make_check: + runs-on: ubuntu-22.04 + steps: + - name: "Checkout sfunnel" + uses: actions/checkout@v3 + with: + path: sfunnel + + - name: "Install deps..." + run: | + sudo apt-get update && apt-get install -y clang make iproute2 bridge-utils python3 python3-scapy + + - name: "Run tests..." + run: cd sfunnel/test && make