Skip to content

Commit

Permalink
chore: Refactor build workflow for Apple builds
Browse files Browse the repository at this point in the history
  • Loading branch information
theashraf committed Dec 6, 2024
1 parent fe8d7bd commit fa4b7ec
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,6 @@ jobs:
build-apple:
runs-on: macos-latest-large
# if: github.event.inputs.target == 'apple' || github.event.inputs.target == 'all'
strategy:
matrix:
target:
[
aarch64-apple-darwin,
x86_64-apple-darwin,
aarch64-apple-ios,
x86_64-apple-ios,
aarch64-apple-ios-sim,
]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -56,13 +46,13 @@ jobs:
- name: Build Apple
run: |
rm -f /usr/local/lib/libjpeg*
make ${{ matrix.target }}
make apple
- name: Upload Apple Artifacts
uses: actions/upload-artifact@v4
with:
name: dotlottie-player.${{ matrix.target }}.tar.gz
path: release/apple/dotlottie-player.${{ matrix.target }}.tar.gz
name: dotlottie-player.darwin.tar.gz
path: release/apple/dotlottie-player.darwin.tar.gz
if-no-files-found: error

build-android:
Expand Down

0 comments on commit fa4b7ec

Please sign in to comment.