Skip to content

Commit 3be1add

Browse files
committed
actions: add performance comparison to checksec.sh
1 parent 00efd25 commit 3be1add

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yml

+26
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,32 @@ jobs:
8888
- name: Run smoke test
8989
run: checksec /usr/lib
9090

91+
performance:
92+
needs: build
93+
runs-on: ubuntu-latest
94+
95+
steps:
96+
- uses: actions/checkout@v1
97+
98+
- name: Set up Python 3.6 🐍
99+
uses: actions/setup-python@v1
100+
with:
101+
python-version: '3.6'
102+
103+
- name: Install package 📦
104+
run: python -m pip install .
105+
106+
- name: install checksec.sh
107+
run: |
108+
wget 'https://raw.githubusercontent.com/slimm609/checksec.sh/master/checksec' -O /usr/local/bin/checksec.sh
109+
chmod +x /usr/local/bin/checksec.sh
110+
111+
- name: checksec.sh /usr/lib
112+
run: find /usr/lib -type d -exec checksec.sh --dir="{}" --output=json \;
113+
114+
- name: checksec.py /usr/lib
115+
run: checksec /usr/lib -r -j
116+
91117
release:
92118
needs: test
93119

0 commit comments

Comments
 (0)