-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f549d32
commit 4663f53
Showing
1 changed file
with
26 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,11 +92,6 @@ jobs: | |
- name: Install Conan | ||
run: pip3 install conan==1.53.0 | ||
|
||
- name: Install cmake | ||
uses: ConorMacBride/[email protected] | ||
with: | ||
brew: cmake | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Install conan dependencies | ||
|
@@ -110,9 +105,33 @@ jobs: | |
name: lottie-to-png.darwin.amd64 | ||
path: bin/lottie_to_png | ||
|
||
test-darwin: | ||
name: Test MacOS | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
case: | ||
- lottie_to_apng | ||
- lottie_to_gif | ||
- lottie_to_png | ||
- lottie_to_webp | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: lottie-to-png.darwin.amd64 | ||
path: bin/lottie_to_png | ||
|
||
- name: Test | ||
run: | | ||
find /source -type f \( -iname \*.json -o -iname \*.lottie -o -iname \*.tgs \) | while IFS=$'\n' read -r FILE; do \ | ||
echo Converting \${FILE}... && ./bin/${{ matrix.case }}.sh \${WIDTH:+--width \$WIDTH} \${HEIGHT:+--height \$HEIGHT} \${FPS:+--fps \$FPS} \${QUALITY:+--quality \$QUALITY} \$FILE && echo Done.; \ | ||
done | ||
release: | ||
needs: | ||
- build-docker | ||
- test-docker | ||
- build-darwin | ||
runs-on: ubuntu-latest | ||
strategy: | ||
|
@@ -145,9 +164,6 @@ jobs: | |
uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: release-${{ matrix.platform }}.zip | ||
body: body | ||
name: test | ||
tag: haha | ||
name: ${{ github.ref }} | ||
allowUpdates: true | ||
target_commitish: ${{ github.sha }} | ||
draft: true |