-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
65 lines (62 loc) · 2.71 KB
/
action.yml
File metadata and controls
65 lines (62 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Copyright (c) 2020, 2021, 2022, 2023 Luca Cappa
# Released under the term specified in file LICENSE.txt
# SPDX short identifier: MIT
name: 'get-cmake'
description: 'Installs LLVM, and caches them on cloud based GitHub cache, and/or on the local GitHub runner cache.'
author: 'Ambrus Tóth'
runs:
using: 'node20'
main: 'dist/index.js'
inputs:
llvmVersion:
required: false
description: "LLVM version (fully qualified, e.g. 20.1.6). Must correspond to the version available in the llvmBuildRelease."
default: "20.1.6"
llvmBuildRelease:
required: false
description: "LLVM build release tag - must correspond to the version specified in the llvmVersion."
default: "20250910-063105"
llvmBuildArchitecture:
required: false
description: "LLVM build architecture. When nothing specified, the architecture of the runner is used."
llvmBuildTripleSuffix:
required: false
description: "The part of the archive name that indicates the operating system and the abi, e.g. 'unknown-linux-gnu', 'apple-darwin24.1.0', 'unknown-windows-msvc17'. When nothing specified, the platform of the runner is used."
llvmBuildConfig:
required: false
description: "LLVM build configuration. Supported values are: Debug, MinSizeRel."
default: "MinSizeRel"
addToPath:
required: false
description: "If true, adds the LLVM bin directory to the PATH environment variable."
default: true
addToPkgConfigPath:
required: false
description: "If true, adds the pkgconfig directory with llvm.pc to the PKG_CONFIG_PATH environment variable."
default: true
useCloudCache:
required: false
description: "Optional argument indicating whether to use the cloud based storage of the GitHub cache. Suited for the GitHub-hosted runners."
default: true
useLocalCache:
required: false
description: "Optional argument indicating whether to use the local cache on the GitHub runner file system. Suited for the self-hosted GitHub runners."
default: false
outputs:
llvmRootDirectory:
description: "The root directory of the installed LLVM."
llvmBinDirectory:
description: "The bin directory of the installed LLVM."
llvmPkgConfigDirectory:
description: "The pkgconfig directory containing llvm.pc of the installed LLVM."
llvmLibDirectory:
description: "The lib directory of the installed LLVM."
llvmCmakeDirectory:
description: "The cmake directory containing LLVMConfig.cmake of the installed LLVM (<LLVM>/lib/cmake/llvm)."
lldCmakeDirectory:
description: "The cmake directory containing LLDConfig.cmake of the installed LLVM (<LLVM>/lib/cmake/lld)."
llvmVersion:
description: "The version of the installed LLVM."
branding:
icon: 'terminal'
color: 'green'