Skip to content

Commit

Permalink
Add IMATH_BUILD_APPLE_FRAMEWORKS CI job
Browse files Browse the repository at this point in the history
Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed Jan 19, 2025
1 parent e4fe355 commit 366e3ce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci_steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ on:
type: string
BUILD_TESTING:
type: string
IMATH_BUILD_APPLE_FRAMEWORKS:
type: string
namespace:
type: string
validate_install:
Expand Down Expand Up @@ -77,13 +79,17 @@ jobs:
-DCMAKE_CXX_STANDARD=${{ inputs.cxx-standard }} \
-DBUILD_SHARED_LIBS=${{ inputs.BUILD_SHARED_LIBS }} \
-DIMATH_INSTALL_PKG_CONFIG=${{ inputs.IMATH_INSTALL_PKG_CONFIG }} \
-DIMATH_BUILD_APPLE_FRAMEWORKS=${{ inputs.BUILD_APPLE_FRAMEWORKS }} \
-DBUILD_TESTING=${{ inputs.BUILD_TESTING }} \
-DPYTHON=${{ inputs.python }} \
-DPYBIND11=${{ inputs.pybind11 }} \
-DCMAKE_VERBOSE_MAKEFILE=ON"
if [ -n "${{ inputs.namespace }}" ]; then
CMAKE_COMMAND="$CMAKE_COMMAND -DIMATH_NAMESPACE=${{ inputs.namespace }}"
fi
if [ -n "${{ inputs.IMATH_BUILD_APPLE_FRAMEWORKS }}" ]; then
CMAKE_COMMAND="$CMAKE_COMMAND -DCMAKE_SYSTEM_NAME=iOS"
fi
echo "CMAKE_COMMAND=$CMAKE_COMMAND" >> $GITHUB_ENV
# Remove the os version from the manifest name, so it only
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
pybind11: ${{ matrix.pybind11 || 'OFF' }}
BUILD_SHARED_LIBS: ${{ matrix.BUILD_SHARED_LIBS || 'ON' }}
IMATH_INSTALL_PKG_CONFIG: ${{ matrix.IMATH_INSTALL_PKG_CONFIG || 'ON' }}
IMATH_BUILD_APPLE_FRAMEWORKS: ${{ matrix.IMATH_BUILD_APPLE_FRAMEWORKS || 'ON' }}
BUILD_TESTING: ${{ matrix.BUILD_TESTING || 'ON' }}
validate_install: ${{ matrix.validate_install || 'ON' }}
strategy:
Expand All @@ -136,6 +137,9 @@ jobs:
label: macos-13
os: macos-13

- build: 6
IMATH_BUILD_APPLE_FRAMEWORKS: 'ON'

windows:
name: 'Windows.${{ matrix.build}}: ${{ matrix.label }}'
uses: ./.github/workflows/ci_steps.yml
Expand Down

0 comments on commit 366e3ce

Please sign in to comment.