Skip to content

actions: add performance comparison to checksec.sh #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
sudo chmod +x /usr/local/bin/checksec.sh

- name: checksec.sh /usr/lib
run: find /usr/lib -type d -exec checksec.sh --dir="{}" --output=json \;
Copy link

@Artoria2e5 Artoria2e5 Mar 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow, it doesn't recurse?


- name: checksec.py /usr/lib
run: checksec /usr/lib -r -j

release:
needs: test

Expand Down