aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2023-05-02 13:54:01 +0200
committerPaul Adenot <[email protected]>2023-05-17 10:57:17 +0200
commit5e12bb870def1815b146e1820eb4a55ec63ea3c4 (patch)
treed8deaa46bd45b9763982c1f7e915c2baed5b33d9 /.github
parentfebf49d0898d1c1691235639b0796b91df522394 (diff)
downloadcubeb-5e12bb870def1815b146e1820eb4a55ec63ea3c4.tar.gz
cubeb-5e12bb870def1815b146e1820eb4a55ec63ea3c4.zip
Allow specifying a particular clang-format binary (version), and pin the CI to version 15
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 202f7e1..f4cb552 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -74,15 +74,18 @@ jobs:
run: cmake --build build
check_format:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
+ - name: Install Dependencies (Linux)
+ run: sudo apt-get update && sudo apt-get install clang-format-15
+
- name: Configure CMake
shell: bash
- run: cmake -S . -B build
+ run: cmake -S . -B build -DCLANG_FORMAT_BINARY=clang-format-15
- name: Check format
shell: bash