File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Check the decoded images.
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : macos-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ - name : Build CI Test Runner
11+ shell : bash
12+ run : |
13+ set -ex
14+ cd Example
15+ pod install --repo-update
16+ xcrun xcodebuild \
17+ -workspace SDWebImageAVIFCoder.xcworkspace \
18+ -scheme SDWebImageAVIFCoder_CITestRunner \
19+ -archivePath ./CITestRunner \
20+ archive
21+ - name : Clone test images
22+ shell : bash
23+ run : |
24+ set -ex
25+ git clone https://github.com/link-u/avif-sample-images.git
26+ - name : Decode all AVIF images
27+ shell : bash
28+ run : |
29+ set -ex
30+ cd avif-sample-images
31+ mkdir recoded
32+ CMD="../Example/CITestRunner.xcarchive/Products/usr/local/bin/SDWebImageAVIFCoder_CITestRunner"
33+ for $file in $(find . -name \*.avif); do
34+ ${CMD} ${file} "./decoded/${file}.png"
35+ done
You can’t perform that action at this time.
0 commit comments