Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup initial GitHub CI to build on macos-latest and macos-12. #108

Merged
merged 2 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/actions/libiamf-builder/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@ name: libiamf-builder

description: Build libiamf.

inputs:
build-options:
description: Build command options.
required: false
default: ""

runs:
using: composite
steps:
- shell: bash
run: |
cd code
cmake .
cmake ${{ inputs.build-options }} .
make

18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,21 @@ jobs:
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/libiamf-builder
macos-arm64:
runs-on: macos-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/libiamf-builder
with:
build-options: -DCODEC_CAP=off
macos-amd64:
runs-on: macos-12
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/libiamf-builder
with:
build-options: -DCODEC_CAP=off