-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (40 loc) · 1.28 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
name: CEF Build CI
on:
workflow_dispatch:
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: 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.ps1
- name: Build CEF
working-directory: ${{ github.workspace }}
run: |
cd .\build
.\build.ps1
- 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: softprops/action-gh-release@v2
with:
draft: true
# repository: citizenfx/cef
name: ${{ format('build-{0}', github.run_id) }}
tag_name: ${{ format('build-{0}', github.run_id) }}
files: chromium_git/chromium/src/cef/binary_distrib/*.zip