summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-05-25 02:49:36 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-05-25 04:34:31 +0200
commit8f7cb77f343c2596cec7b971cdc4882b9bfe572c (patch)
tree56a7954bd463bc574cef18a9e66fb4ed5814ffd9 /.github
parenteb65d88cd4ac6b0362517c7d718cbc9857c30ba3 (diff)
downloadfork-godot-webrtc-native-8f7cb77f343c2596cec7b971cdc4882b9bfe572c.tar.gz
fork-godot-webrtc-native-8f7cb77f343c2596cec7b971cdc4882b9bfe572c.tar.bz2
fork-godot-webrtc-native-8f7cb77f343c2596cec7b971cdc4882b9bfe572c.zip
[CI] Update static checks, copyright headers.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_release.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml
index ec474e0..833b8f7 100644
--- a/.github/workflows/build_release.yml
+++ b/.github/workflows/build_release.yml
@@ -15,9 +15,14 @@ jobs:
- name: Install dependencies
run: |
- sudo apt-get install -qq dos2unix recode clang-format-11
+ # Add clang repository (so we have clang-format-14)
+ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
+ sudo apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main"
+ sudo apt-get update
+ # Install required deps
+ sudo apt-get install -qq dos2unix moreutils recode clang-format-14
sudo update-alternatives --remove-all clang-format
- sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-11 100
+ sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-14 100
sudo pip3 install black==22.3.0 pygments
- name: File formatting checks (file_format.sh)