mirror of
https://github.com/ivabus/pantry
synced 2024-11-15 13:05:08 +03:00
27 lines
No EOL
692 B
YAML
27 lines
No EOL
692 B
YAML
distributable:
|
|
url: git+https://github.com/a7ex/xcresultparser.git
|
|
ref: ${{version.tag}}
|
|
|
|
versions:
|
|
github: a7ex/xcresultparser
|
|
|
|
platforms:
|
|
- darwin
|
|
|
|
build:
|
|
- swift build -c release --disable-sandbox --arch $(uname -m)
|
|
- install -D .build/release/xcresultparser {{prefix}}/bin/xcresultparser
|
|
|
|
provides:
|
|
- bin/xcresultparser
|
|
|
|
test:
|
|
dependencies:
|
|
curl.se: '*'
|
|
script:
|
|
- xcresultparser --version | grep {{version}}
|
|
- curl -L "${TESTDATA}" | tar -xz
|
|
- xcresultparser -o txt SanityResults.xcresult > output.txt
|
|
- cat output.txt | grep 'Number of tests = 1'
|
|
env:
|
|
TESTDATA: https://pub-0b56a3a43f5b4adc91c743afc384fe1a.r2.dev/SanityResults.xcresult.tar.gz |