Skip to content

Commit

Permalink
1dd
Browse files Browse the repository at this point in the history
  • Loading branch information
ed-asriyan committed Jul 1, 2023
1 parent f549d32 commit f966d89
Showing 1 changed file with 27 additions and 10 deletions.
37 changes: 27 additions & 10 deletions .github/workflows/ci-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -110,9 +105,34 @@ jobs:
name: lottie-to-png.darwin.amd64
path: bin/lottie_to_png

test-darwin:
name: Test MacOS
needs: build-darwin
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:
Expand Down Expand Up @@ -145,9 +165,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

0 comments on commit f966d89

Please sign in to comment.