Fix compiler error in Swift UI helpers when not using moko-resources #202
Workflow file for this run
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: KMP library compilation check | |
on: | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ macos-11, windows-latest, ubuntu-latest ] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Gradle Build Action | |
uses: gradle/[email protected] | |
- name: Check build | |
run: ./run-check.sh "${{ matrix.os }}" | |
shell: bash | |
- name: Install pods | |
run: cd sample/ios-app && pod install | |
if: matrix.os == 'macOS-latest' | |
- name: build ios sample | |
run: cd sample/ios-app && set -o pipefail && xcodebuild -scheme TestProj -workspace TestProj.xcworkspace -configuration Debug -sdk iphonesimulator -arch x86_64 build CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO | xcpretty | |
if: matrix.os == 'macOS-latest' | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v2 | |
if: ${{ always() }} | |
with: | |
report_paths: '**/build/test-results/**/TEST-*.xml' | |
github_token: ${{ secrets.GITHUB_TOKEN }} |