mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
62aa1fe955
commit
612cd6abbb
1 changed files with 8 additions and 1 deletions
|
@ -23,4 +23,11 @@ build:
|
|||
mv swiftlint "{{prefix}}/bin"
|
||||
|
||||
test:
|
||||
script: test "$(swiftlint --version)" = {{version}}
|
||||
# MacOS 11 doesn't have the necessary library
|
||||
- run: |
|
||||
if ! test -f /usr/lib/swift/libswift_Concurrency.dylib; then
|
||||
echo "warning: skipping tests because libswift_Concurrency.dylib is missing"
|
||||
exit 0
|
||||
fi
|
||||
if: darwin
|
||||
- test "$(swiftlint --version)" = {{version}}
|
||||
|
|
Loading…
Reference in a new issue