ZcashLightClientKit/.github/workflows/swift.yml

33 lines
804 B
YAML
Raw Normal View History

2022-03-04 07:38:13 -08:00
name: Build and Run Offline Tests
2022-03-04 07:38:13 -08:00
on:
pull_request:
2022-03-04 07:38:13 -08:00
paths-ignore:
- '.github/ISSUE_TEMPLATE/*'
- '.github/PULL_REQUEST_TEMPLATE.md'
- 'changelog.md'
- 'LICENSE'
- 'README.md'
- 'responsible_disclosure.md'
- 'SWIFTLINT.md'
- 'docs/**'
jobs:
build:
2022-03-04 08:43:55 -08:00
permissions:
contents: read
runs-on: macos-13
steps:
2022-03-04 07:38:13 -08:00
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
timeout-minutes: 1
- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_14.3.app/Contents/Developer'
2022-03-04 07:38:13 -08:00
- name: Build ZcashLightClientKit Swift Package
2022-03-11 13:37:19 -08:00
timeout-minutes: 15
run: swift build -v
2022-03-04 07:38:13 -08:00
- name: Run OfflineTests suite
timeout-minutes: 5
run: swift test --filter OfflineTests