Skip to content

hipfile: Allow buffer offsets when issuing IO to an unregistered buffer #199

hipfile: Allow buffer offsets when issuing IO to an unregistered buffer

hipfile: Allow buffer offsets when issuing IO to an unregistered buffer #199

Workflow file for this run

# Run cmakelint over all the repo's CMake files
name: cmakelint
on:
pull_request:
paths:
- '**.cmake'
- '**/CMakeLists.txt'
permissions:
contents: read
jobs:
cmake-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 #v6.2.0
- name: Set up cmakelint
run: |
python -m pip install --upgrade pip
python -m pip install cmakelint
- name: Lint all CMake files
run: |
FILES=$(find . -type f \( -name "CMakeLists.txt" -o -name "*.cmake" \))
if [ -z "$FILES" ]; then
echo "No CMake files found!"
exit 1
fi
echo "Linting the following files:"
echo "$FILES"
cmakelint $FILES