Skip to content

Commit 136a6ce

Browse files
committed
feat(ci): Run hardening-check script on Ubuntu 24.04 build binary
1 parent 3518acd commit 136a6ce

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ jobs:
6161
run: |
6262
sudo apt-get update
6363
sudo apt-get install -y g++-${{ matrix.gccver }}
64-
sudo apt-get clean
64+
65+
- name: 'Install Debian devscripts (Ubuntu-24.04 only)'
66+
if: startsWith(matrix.os, 'ubuntu-24.04')
67+
run: |
68+
sudo apt-get install -y --no-install-recommends devscripts
6569
6670
- name: 'Switch to newest available Xcode (macOS only)'
6771
if: startsWith(matrix.os, 'macos')
@@ -77,3 +81,11 @@ jobs:
7781

7882
- name: Build
7983
run: cmake --build ${{github.workspace}}/build -j1
84+
# env:
85+
# VERBOSE: 1
86+
87+
# TODO: Look at https://github.com/microsoft/binskim as well?
88+
- name: 'Run hardening-check on main binary (Ubuntu-24.04 only)'
89+
if: startsWith(matrix.os, 'ubuntu-24.04')
90+
run: |
91+
hardening-check ${{github.workspace}}/build/bin/scummtr

.github/workflows/lint-manpages.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
run: |
2525
sudo apt-get -qq update
2626
sudo apt-get -qq install -o=Dpkg::Use-Pty=0 -y mandoc
27-
sudo apt-get clean
2827
dpkg-query -W -f='\nCurrent mandoc is ${binary:Package} ${Version}\n' mandoc
2928
3029
- name: Run mandoc linter

0 commit comments

Comments
 (0)