-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
59 lines (59 loc) · 2.15 KB
/
action.yml
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
name: "Setup SDL"
description: "Set up SDL"
inputs:
version:
description: "Required version of SDL (2.x.y, 2-any, 2-latest, 2-head, 3-head), or git hash"
default: "2-any"
required: true
version-sdl-image:
description: "Version of SDL_image (2.x.y, 2-any, 2-latest, 2-head, 3-head), git hash, or <empty>"
required: false
version-sdl-mixer:
description: "Version of SDL_mixer (2.x.y, 2-any, 2-latest, 2-head, 3-head), git hash, or <empty>"
required: false
version-sdl-net:
description: "Version of SDL_net (2.x.y, 2-any, 2-latest, 2-head, 3-head), git hash, or <empty>"
required: false
version-sdl-rtf:
description: "Version of SDL_rtf (2.x.y, 2-any, 2-latest, 2-head, 3-head), git hash, or <empty>"
required: false
version-sdl-ttf:
description: "Version of SDL_ttf (2.x.y, 2-any, 2-latest, 2-head, 3-head), git hash, or <empty>"
required: false
pre-release:
description: "Allow pre-releases"
default: "true"
required: true
build-type:
description: "CMake build type (Release/Debug/RelWithDebInfo/MinSizeRel)"
default: "Debug"
required: true
sdl-test:
description: "Build and install SDL_test library"
default: "false"
cmake-toolchain-file:
description: "Path of a CMake toolchain file"
cmake-generator:
description: "CMake generator name (see https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html)"
cmake-arguments:
description: "Extra CMake arguments during configuration"
install-linux-dependencies:
description: "Install dependencies (supports apt-get, dnf, brew, and msys2-pacman)"
shell:
description: "Run commands as `$shell $file` (with $file containing the build commands)"
discriminator:
description: "Unique string to include in the GitHub SDL cache hash"
add-to-environment:
description: "Add path of the SDL (shared) library to PATH/LD_LIBRARY_PATH/DYLD_LIBRARY_PATH"
default: "false"
token:
description: "A GitHub API token."
default: ${{ github.token }}
outputs:
prefix:
description: "Actual root of the built SDL package"
version:
description: "SDL version"
runs:
using: "node20"
main: "packed/index.js"