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

Update blank.yml

Update blank.yml #14

Workflow file for this run

name: Build CEF
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to build:'
type: string
required: true
default: 'em-7151'
clean:
description: 'Force clean'
type: boolean
required: true
default: false
jobs:
build:
timeout-minutes: 1440
permissions:
contents: write
runs-on:
group: Metal
steps:
- name: Download automate-git.py
shell: cmd
run: curl -O https://github.com/emclient/cef/refs/heads/${{ inputs.branch }}/tools/automate/automate-git.py
- name: Clear
- name: Build CEF (win-x86)
shell: cmd
run: |
set GN_DEFINES=is_official_build=true use_siso=false
set GYP_MSVS_VERSION=2022
set CEF_ARCHIVE_FORMAT=tar.bz2
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
- name: Build CEF (win-x64)
shell: cmd
run: |
set GN_DEFINES=is_official_build=true use_siso=false
set GYP_MSVS_VERSION=2022
set CEF_ARCHIVE_FORMAT=tar.bz2
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
- name: Get CEF version
shell: bash
run: |
CEF_VERSION=$(ls -d chromium/src/cef/binary_distrib/cef_binary_*_windows32 | sed -n "s/.*cef_binary_\(.*\)_windows.*/\1/p")
echo "CEF_VERSION=${CEF_VERSION}" >> $GITHUB_ENV
- name: Create release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ env.CEF_VERSION }}-${{ inputs.arch }}
files: ${{ github.workspace }}/chromium/src/cef/binary_distrib/*.tar.bz2