GitHub action to setup LLVM.
This action will download, buiild and install a selected version of LLVM, and cache the installation for future workflow executions by default.
Adding a step that uses this action will setup LLVM and make it available for subsequent steps (see action.yml):
jobs:
example:
runs-on: ubuntu-latest
steps:
- name: Setup LLVM
uses: rush-lang/setup-llvm-action@v1
with:
llvm-version: 17
The llvm-version
input supports the Semantic Versioning Specification, for more detailed examples please refer to the semver package documentation.
Example:
- Major versions:
14
,15
,17
- Specific versions:
12.0
,16.0.0-rc4
- Latest release (default):
latest
The default input options have been chosen to minimize the size of the resulting LLVM installation. These options may differ from the defaults of the LLVM CMake project. Builds that require anything beyond a minimal installation of the headers and libraries must be specifically configured with the action inputs (see action.yml).
The scripts and documentation in this project are released under the MIT License