diff --git a/.github/workflows/ubuntu_clang.yml b/.github/workflows/ubuntu_clang.yml index d370eed..905b824 100644 --- a/.github/workflows/ubuntu_clang.yml +++ b/.github/workflows/ubuntu_clang.yml @@ -19,14 +19,12 @@ jobs: - name: setup clang run: | - sudo update-alternatives \ - --install /usr/lib/llvm llvm /usr/lib/llvm-15 1000 \ - --slave /usr/bin/llvm-ar llvm-ar /usr/bin/llvm-ar-15 \ - --slave /usr/bin/llvm-ranlib llvm-ranlib /usr/bin/llvm-ranlib-15 - sudo update-alternatives \ - --install /usr/bin/clang clang /usr/bin/clang-15 1000 - sudo update-alternatives \ - --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 1000 + sudo update-alternatives --install /usr/lib/llvm llvm /usr/lib/llvm-15 1000 + sudo update-alternatives --install /usr/bin/llvm-ar llvm-ar /usr/bin/llvm-ar-15 1000 + sudo update-alternatives --install /usr/bin/llvm-ranlib llvm-ranlib /usr/bin/llvm-ranlib-15 1000 + sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 1000 + sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 1000 + sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 1000 - name: init submodules run: git submodule init diff --git a/.github/workflows/ubuntu_clang_cmake.yml b/.github/workflows/ubuntu_clang_cmake.yml index 03c5845..ce958be 100644 --- a/.github/workflows/ubuntu_clang_cmake.yml +++ b/.github/workflows/ubuntu_clang_cmake.yml @@ -14,16 +14,12 @@ jobs: - name: setup clang run: | - sudo update-alternatives \ - --install /usr/lib/llvm llvm /usr/lib/llvm-15 1000 \ - --slave /usr/bin/llvm-ar llvm-ar /usr/bin/llvm-ar-15 \ - --slave /usr/bin/llvm-ranlib llvm-ranlib /usr/bin/llvm-ranlib-15 - sudo update-alternatives \ - --install /usr/bin/clang clang /usr/bin/clang-15 1000 - sudo update-alternatives \ - --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 1000 - sudo update-alternatives \ - --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 1000 + sudo update-alternatives --install /usr/lib/llvm llvm /usr/lib/llvm-15 1000 + sudo update-alternatives --install /usr/bin/llvm-ar llvm-ar /usr/bin/llvm-ar-15 1000 + sudo update-alternatives --install /usr/bin/llvm-ranlib llvm-ranlib /usr/bin/llvm-ranlib-15 1000 + sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 1000 + sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 1000 + sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 1000 - name: install conan run: sudo pip install 'conan<2' diff --git a/.github/workflows/ubuntu_clang_conan.yml b/.github/workflows/ubuntu_clang_conan.yml index 5c68365..047999e 100644 --- a/.github/workflows/ubuntu_clang_conan.yml +++ b/.github/workflows/ubuntu_clang_conan.yml @@ -19,16 +19,12 @@ jobs: - name: setup clang run: | - sudo update-alternatives \ - --install /usr/lib/llvm llvm /usr/lib/llvm-15 1000 \ - --slave /usr/bin/llvm-ar llvm-ar /usr/bin/llvm-ar-15 \ - --slave /usr/bin/llvm-ranlib llvm-ranlib /usr/bin/llvm-ranlib-15 - sudo update-alternatives \ - --install /usr/bin/clang clang /usr/bin/clang-15 1000 - sudo update-alternatives \ - --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 1000 - sudo update-alternatives \ - --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 1000 + sudo update-alternatives --install /usr/lib/llvm llvm /usr/lib/llvm-15 1000 + sudo update-alternatives --install /usr/bin/llvm-ar llvm-ar /usr/bin/llvm-ar-15 1000 + sudo update-alternatives --install /usr/bin/llvm-ranlib llvm-ranlib /usr/bin/llvm-ranlib-15 1000 + sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 1000 + sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 1000 + sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 1000 - name: install conan run: sudo pip install 'conan<2' diff --git a/.github/workflows/ubuntu_clang_sanitizer.yml b/.github/workflows/ubuntu_clang_sanitizer.yml index d14b9c3..940ded7 100644 --- a/.github/workflows/ubuntu_clang_sanitizer.yml +++ b/.github/workflows/ubuntu_clang_sanitizer.yml @@ -18,14 +18,12 @@ jobs: - name: set symlinks run: | - sudo update-alternatives \ - --install /usr/lib/llvm llvm /usr/lib/llvm-15 1000 \ - --slave /usr/bin/llvm-ar llvm-ar /usr/bin/llvm-ar-15 \ - --slave /usr/bin/llvm-ranlib llvm-ranlib /usr/bin/llvm-ranlib-15 - sudo update-alternatives \ - --install /usr/bin/clang clang /usr/bin/clang-15 1000 - sudo update-alternatives \ - --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 1000 + sudo update-alternatives --install /usr/lib/llvm llvm /usr/lib/llvm-15 1000 + sudo update-alternatives --install /usr/bin/llvm-ar llvm-ar /usr/bin/llvm-ar-15 1000 + sudo update-alternatives --install /usr/bin/llvm-ranlib llvm-ranlib /usr/bin/llvm-ranlib-15 1000 + sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 1000 + sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 1000 + sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 1000 - name: init submodules run: git submodule init