-
Notifications
You must be signed in to change notification settings - Fork 1
57 lines (47 loc) · 1.4 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: CEF Build CI
on:
push:
branches:
- m124-ci
jobs:
build:
runs-on: self-hosted
steps:
- name: Support longpaths
run: git config --global core.longpaths true
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: 'recursive'
#- name: Set up Python 3.8
# uses: actions/setup-python@v4
# with:
# python-version: '3.8'
# architecture: 'x64'
- name: Add depot_tools and ninja to PATH
run: |
echo "$env:GITHUB_WORKSPACE\depot_tools" >> $GITHUB_PATH
echo "$env:GITHUB_WORKSPACE\ninja" >> $GITHUB_PATH
- name: Prepare Depot
working-directory: ${{ github.workspace }}
run: |
cd .\build
.\prepare-depot.bat
- name: Build CEF
working-directory: ${{ github.workspace }}
run: |
cd .\build
.\build.bat
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: release_build
path: chromium_git/chromium/src/cef/binary_distrib/*.zip
- name: Create draft release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
draft: true
title: "Development Build"
files: |
chromium_git/chromium/src/cef/binary_distrib/*.zip