Skip to content

Commit 7dd8e89

Browse files
committed
Setup initial GitHub CI to build on macos-amd64.
- Only building for IAMF-LPCM.
1 parent e460165 commit 7dd8e89

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

.github/actions/libiamf-builder/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@ name: libiamf-builder
22

33
description: Build libiamf.
44

5+
inputs:
6+
build-options:
7+
description: Build command options.
8+
required: false
9+
default: ""
10+
511
runs:
612
using: composite
713
steps:
814
- shell: bash
915
run: |
1016
cd code
11-
cmake .
17+
cmake ${{ inputs.build-options }} .
1218
make
1319

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,13 @@ jobs:
1010
uses: actions/checkout@v4
1111
- name: Build
1212
uses: ./.github/actions/libiamf-builder
13+
macos-arm64:
14+
runs-on: macos-latest
15+
steps:
16+
- name: Checkout repo
17+
uses: actions/checkout@v4
18+
- name: Build
19+
uses: ./.github/actions/libiamf-builder
20+
with:
21+
build-options: -DCODEC_CAP=off
22+

0 commit comments

Comments
 (0)