-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (51 loc) · 1.52 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
58
59
60
61
62
63
on:
push:
workflow_dispatch:
name: 🏗️ Build Bindings
jobs:
build:
strategy:
fail-fast: false
matrix:
backend: [WebKitGtk, WebView2, Qt5, Qt6]
config: [Debug, Release, RelWithDebInfo]
include:
- backend: WebView2
platform: Windows
os: windows-latest
- backend: Qt5
platform: Linux
os: ubuntu-latest
container: archlinux:base-devel
- backend: Qt6
platform: Linux
os: ubuntu-latest
container: archlinux:base-devel
- backend: WebKitGtk
platform: Linux
os: ubuntu-latest
container: archlinux:base-devel
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
name: bindings-${{ matrix.backend }}-${{ matrix.config }}
steps:
- name: 📥 Checkout
uses: actions/checkout@v4
- name: 📥 Checkout Saucer
uses: actions/checkout@v4
with:
repository: "saucer/saucer"
sparse-checkout: ".github"
ref: very-experimental
path: "actions"
- name: 🛸 Setup Saucer
uses: ./actions/.github/actions/setup
with:
backend: ${{ matrix.backend }}
platform: ${{ matrix.platform }}
build-type: ${{ matrix.config }}
- name: 📦 Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Binding (${{ matrix.backend }}-${{ matrix.config }})
path: build