-
Notifications
You must be signed in to change notification settings - Fork 36
75 lines (71 loc) · 1.92 KB
/
webview.yaml
File metadata and controls
75 lines (71 loc) · 1.92 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: WebviewNative
on:
workflow_dispatch:
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libwebkit2gtk-4.1-dev xvfb -y
- name: Get CMake
uses: lukka/get-cmake@latest
- name: Run CMake
uses: lukka/run-cmake@v10
with:
configurePreset: 'ninja'
buildPreset: 'ninja'
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: "webview-linux64"
path: ./build
build-macos-arm64:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Get CMake
uses: lukka/get-cmake@latest
- name: Run CMake
uses: lukka/run-cmake@v10
with:
configurePreset: 'ninja'
buildPreset: 'ninja'
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: "webview-mac-arm64"
path: ./build
build-macos-x64:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Get CMake
uses: lukka/get-cmake@latest
- name: Run CMake
uses: lukka/run-cmake@v10
with:
configurePreset: 'ninja'
buildPreset: 'ninja'
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: "webview-mac-x64"
path: ./build
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: GuillaumeFalourd/setup-windows10-sdk-action@v1.2
- name: Get CMake
uses: lukka/get-cmake@latest
- name: Run CMake
uses: lukka/run-cmake@v10
with:
configurePreset: 'windows'
buildPreset: 'windows'
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: "webview-win64"
path: ./build