Skip to content

Make Resilient conditionally conform to Equatable and Hashable #186

Make Resilient conditionally conform to Equatable and Hashable

Make Resilient conditionally conform to Equatable and Hashable #186

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build-macos:
runs-on: macOS-11
steps:
# Checks-out the repo. More at: https://github.com/actions/checkout
- uses: actions/checkout@v2
- name: Run on Xcode 11
run: sudo xcode-select -switch /Applications/Xcode_11.7.app
- name: Generate linux tests
# Makes sure the linux tests were generated properly (can only be run on macOS)
run: swift test --generate-linuxmain && git update-index --refresh && git diff-index --quiet HEAD --
- name: Test in Debug
run: swift test -c debug
- name: Test in Release
run: swift test -c release
build-macos-xcode-12:
runs-on: macOS-11
steps:
# Checks-out the repo. More at: https://github.com/actions/checkout
- uses: actions/checkout@v2
- name: Run on Xcode 12
run: sudo xcode-select -switch /Applications/Xcode_12.4.app
- name: Test in Debug
run: swift test -c debug
- name: Test in Release
run: swift test -c release
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Didstopia/[email protected]
with:
swift-action: 'test'
validate-podspec:
runs-on: macOS-11
steps:
- uses: actions/checkout@v2
- name: Validate Podspec
run: bundle install && bundle exec pod lib lint --verbose --fail-fast