This repository has been archived by the owner on Nov 3, 2024. It is now read-only.
Fixing Xcode errors #58
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: CalciumJobs | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Gradle | |
uses: gradle/actions/[email protected] | |
- name: Setup Xcode version | |
uses: maxim-lobanov/[email protected] | |
with: | |
xcode-version: 15.4 | |
- name: Test Kotlin | |
run: ./gradlew allTests | |
- name: Build with Gradle | |
run: ./gradlew assembleXCFramework | |
- name: Install Mint | |
run: brew install mint | |
- name: Generate Xcode project | |
run: mint bootstrap && mint run xcodegen | |
- name: Build and test iOS | |
run: xcodebuild test -project Calcium.xcodeproj -scheme CalciumApp -destination "platform=iOS Simulator,OS=17.0.1,name=iPhone 15" -skipMacroValidation |