Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 6 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update
Expand All @@ -16,7 +18,7 @@ jobs:
- name: Build using make and generate compile commands
run: |
make clean
CONDA_PREFIX=/dummy-prefix PIP=pip3 PYTHON=python3 bear make -j$(nproc)
CONDA_PREFIX=/dummy-prefix PIP=pip3 PYTHON=python3 bear -- make -j$(nproc)

# - name: Build using make and generate compile commands
# run: |
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ In order to use clang-tidy, a compile_commands.json file must be present at the
In order to generate one and still use make as the build system:

```command
# Compile using 'bear <build command>'
bear make -j$(nproc)
# Compile using 'bear -- <build command>'
bear -- make -j$(nproc)
```