Skip to content

Commit

Permalink
Merge pull request #108 from jwcullen/mac_ci
Browse files Browse the repository at this point in the history
Setup initial GitHub CI to build on `macos-latest` and `macos-12`.
  • Loading branch information
jwcullen authored Jun 12, 2024
2 parents e460165 + 4c2678d commit c5e438a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
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

0 comments on commit c5e438a

Please sign in to comment.