diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 938e26d..4521240 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 @@ -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: | diff --git a/README.md b/README.md index 156b6ae..5b1d94a 100644 --- a/README.md +++ b/README.md @@ -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 ' -bear make -j$(nproc) +# Compile using 'bear -- ' +bear -- make -j$(nproc) ```