-
Notifications
You must be signed in to change notification settings - Fork 198
71 lines (69 loc) · 1.69 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
69
70
71
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
- x64
- x86
- wasm
target_environment:
description: Target environment
type: choice
default: ''
options:
- ''
- device
- catalyst
- musl
- simulator
enable_v8:
description: Enable V8
type: boolean
required: false
default: false
emsdk_version:
description: Emscripten SDK
type: string
required: false
default: 3.1.72
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_environment: ${{ github.event.inputs.target_environment }}
enable_v8: ${{ github.event.inputs.enable_v8 == 'true' }}
emsdk_version: ${{ github.event.inputs.emsdk_version }}