-
-
Notifications
You must be signed in to change notification settings - Fork 174
36 lines (32 loc) · 1.3 KB
/
wrapper_windows-build.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
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Please write our copyright if you use this file.
# © 2023 Floorp Projects & Contributors
name: "(A) ⚒ Windows build"
on:
workflow_dispatch:
inputs:
profgen:
type: boolean
description: generate profile for PGO
required: true
aarch64:
type: boolean
description: Build aarch64; does NOT comportable with pgo
required: true
bit-32:
type: boolean
description: Build 32bit; does NOT comportable with aarch64
required: true
run-name: ${{fromJSON('["[NO PGO]","[PGO]"]')[inputs.profgen]}} Windows ${{fromJson('["AMD","AARCH"]')[inputs.aarch64]}} ${{fromJson('["64bit","32bit"]')[inputs.bit-32]}} build
jobs:
windows-build:
name: win-${{fromJson('["no_pgo","pgo"]')[inputs.profgen]}}-${{fromJson('["AMD","AARCH"]')[inputs.aarch64]}}-${{fromJson('["64bit","32bit"]')[inputs.bit-32]}}
uses: ./.github/workflows/windows-build.yml
with:
profgen: ${{inputs.profgen}}
aarch64: ${{inputs.aarch64}}
build32bit: ${{inputs.bit-32}}
secrets:
PAT: ${{ secrets.PAT }}