diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2023-05-25 02:49:36 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2023-05-25 04:34:31 +0200 |
commit | 8f7cb77f343c2596cec7b971cdc4882b9bfe572c (patch) | |
tree | 56a7954bd463bc574cef18a9e66fb4ed5814ffd9 /.github/workflows | |
parent | eb65d88cd4ac6b0362517c7d718cbc9857c30ba3 (diff) | |
download | fork-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/workflows')
-rw-r--r-- | .github/workflows/build_release.yml | 9 |
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) |