-
-
Notifications
You must be signed in to change notification settings - Fork 3
58 lines (51 loc) · 1.55 KB
/
bindgen.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
name: Generate bindings
permissions:
contents: write
on: workflow_dispatch
jobs:
bindgen-windows:
runs-on: windows-latest
strategy:
matrix:
libcec_major_version: ["4", "5", "6"]
env:
LIBCLANG_PATH: 'C:\Program Files\LLVM\lib'
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
repository: ${{ github.event.push.repository.full_name }}
ref: ${{ github.event.push.ref }}
- name: Bindgen windows
uses: ./.github/actions/bindgen-windows
with:
target: x86_64-pc-windows-msvc
libcec_major_version: ${{ matrix.libcec_major_version }}
# bindgen-macos:
# runs-on: macos-latest
# strategy:
# matrix:
# libcec_major_version: ["4", "5", "6"]
# steps:
# - name: Checkout repo
# uses: actions/checkout@v4
#
# - name: Bindgen macOS (Apple silicon)
# uses: ./.github/actions/bindgen-unix
# with:
# target: aarch64-apple-darwin
# libcec_major_version: ${{ matrix.libcec_major_version }}
bindgen-linux:
runs-on: ubuntu-latest
strategy:
matrix:
libcec_major_version: ["4", "5", "6"]
target_triplet: ["x86_64-unknown-linux-gnu", "armv7-unknown-linux-gnueabihf", "arm-unknown-linux-gnueabi"]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Bindgen unix
uses: ./.github/actions/bindgen-unix
with:
target: ${{ matrix.target_triplet }}
libcec_major_version: ${{ matrix.libcec_major_version }}