{"repo":"egor-tensin/setup-clang","free":true,"listed":false,"github":"https://github.com/egor-tensin/setup-clang","clone":"git clone https://github.com/egor-tensin/setup-clang.git","description":"GitHub action to set up Clang & LLVM","language":"C++","stars":71,"topics":["clang","action","github-actions"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Set up Clang ============ This GitHub action sets up Clang & LLVM in your workflow run. 1. Installs either 32-bit or 64-bit Clang & LLVM on either Ubuntu or Windows. 2. Specify a version to install using the version parameter. Use it in your workflow like this: - name: Set up Clang uses: egor-tensin/setup-clang@v2 with: version: latest platform: x64 latest is the default value for the version parameter and can be omitted. x64 is the default value for the platform parameter and can be omitted. Use x86 if you want to build 32-bit binaries. cc and c++ executables are set up, pointing to the clang and clang++ executables. Disable this by setting the cc parameter to 0 . API --- Input Value Default Description --------- ------- ------- ----------- version latest ✓ Install the latest version available in the repository. any Install a specific version if it's available (see below). platform x64 ✓ Install the x86 64 toolchain. any Install the i686 toolchain. cc 1 ✓ Set up cc / clang / c++ / clang++ executables. any Don't set up the executables. Output Example Description ------- --------- ----------- clang clang-4.0 clang binary name clangxx clang++-7 clang++ binary name lld ld.lld-10 ld.lld binary name Supported versions ------------------ Unless the version parameter value is \"latest\", the official LLVM repository is used to make more versions available. You can pass the version number as the version parameter value ( 13 , 17 , 20 , etc.), and this action will install the correspond","default_branch":null,"files":null,"tree":[],"storefront":"/r/egor-tensin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/egor-tensin/setup-clang/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}