forked from bblanchon/pdfium-binaries
-
Notifications
You must be signed in to change notification settings - Fork 0
68 lines (66 loc) · 1.61 KB
/
build-one.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
60
61
62
63
64
65
66
67
68
name: Build one
on:
workflow_dispatch:
inputs:
branch:
description: PDFium branch
required: false
default: main
version:
description: PDFium version
required: false
default: ""
target_os:
description: Target OS
type: choice
options:
- android
- ios
- linux
- mac
- wasm
- win
target_cpu:
description: Target CPU
type: choice
options:
- arm
- arm64
- ppc64le
- x64
- x86
- wasm
target_libc:
description: Target libc
type: choice
options:
- default
- musl
enable_v8:
description: Enable V8
type: boolean
required: false
default: false
emsdk_version:
description: Emscripten SDK
type: string
required: false
default: 3.1.34
is_debug:
description: Is debug
type: boolean
required: false
default: false
jobs:
build:
name: Build
uses: ./.github/workflows/build.yml
with:
branch: ${{ github.event.inputs.branch }}
version: ${{ github.event.inputs.version }}
is_debug: ${{ github.event.inputs.is_debug == 'true' }}
target_os: ${{ github.event.inputs.target_os }}
target_cpu: ${{ github.event.inputs.target_cpu }}
target_libc: ${{ github.event.inputs.target_libc }}
enable_v8: ${{ github.event.inputs.enable_v8 == 'true' }}
emsdk_version: ${{ github.event.inputs.emsdk_version }}