From 990dc4ad8d50b784ec44b3ba684344746a553cde Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Sun, 25 Oct 2020 23:24:37 +0100 Subject: [PATCH] actions: add performance comparison to checksec.sh --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 857445a..8d29549 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,6 +88,32 @@ jobs: - name: Run smoke test run: checksec /usr/lib + performance: + needs: build + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + + - name: Set up Python 3.6 🐍 + uses: actions/setup-python@v1 + with: + python-version: '3.6' + + - name: Install package 📦 + run: python -m pip install . + + - name: install checksec.sh + run: | + sudo wget 'https://raw.githubusercontent.com/slimm609/checksec.sh/master/checksec' -O /usr/local/bin/checksec.sh + chmod +x /usr/local/bin/checksec.sh + + - name: checksec.sh /usr/lib + run: find /usr/lib -type d -exec checksec.sh --dir="{}" --output=json \; + + - name: checksec.py /usr/lib + run: checksec /usr/lib -r -j + release: needs: test