bump odrcore #243
This file contains hidden or 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: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: macos-14 | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: "16.2" | |
| - name: install pods | |
| run: pod install | |
| # https://stackoverflow.com/a/57758679/198996 | |
| - name: install bundler | |
| run: gem install bundler | |
| - name: install fastlane | |
| run: bundle install | |
| - name: install conan | |
| run: pip3 install conan | |
| - name: conan remote | |
| run: | | |
| conan remote remove "*" | |
| conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan | |
| conan remote add conancenter https://center2.conan.io | |
| - name: conan profile | |
| run: conan profile detect | |
| - name: conan install | |
| run: > | |
| conan install conan/ | |
| --output-folder=conan-output | |
| --build=missing | |
| --profile:host=conan/profiles/ios-simulator-arm64 | |
| --deployer=conan/conandeployer.py | |
| --deployer-folder=conan-assets | |
| -s build_type=Release | |
| -s "&:build_type=RelWithDebInfo" | |
| -s "odrcore/*:build_type=RelWithDebInfo" | |
| - name: run tests | |
| run: bundle exec fastlane tests | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: logs | |
| path: | | |
| /Users/runner/Library/Developer/Xcode/DerivedData/OpenDocumentReader-*/ |