fix build (#81) #193
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OpenDocumentReader-iOS | |
on: [push] | |
jobs: | |
test: | |
name: test | |
runs-on: macos-11 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: pods | |
run: pod install | |
# https://stackoverflow.com/a/57758679/198996 | |
- name: bundler | |
run: gem install bundler:1.17.3 | |
- name: fastlane | |
run: bundle install | |
- name: pip | |
run: python3 -m ensurepip | |
- name: conan | |
run: pip3 install conan==1.64.1 | |
- name: conan repo | |
run: | | |
conan remote clean | |
conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan | |
conan remote add conancenter https://center.conan.io | |
- name: run tests | |
run: bundle exec fastlane tests | |
# - uses: actions/upload-artifact@v2 | |
# if: ${{ always() }} | |
# with: | |
# name: logs | |
# path: | | |
# /Users/runner/Library/Developer/Xcode/DerivedData/OpenDocumentReader-*/ |