Skip to content

Add support for Darkmode Kaluga Colors #317

Add support for Darkmode Kaluga Colors

Add support for Darkmode Kaluga Colors #317

Workflow file for this run

name: iOS tests
on: pull_request
env:
GRADLE_OPTS: "-Dorg.gradle.jvmargs=\"-Xmx8G -XX:MaxMetaspaceSize=512m -Dorg.gradle.daemon=false -Dkotlin.incremental=false\" -Dorg.gradle.daemon=false -Dkotlin.incremental=false -Dkotlin.daemon.jvm.options=-Xmx8G,-XX:MaxMetaspaceSize=512m,-Dorg.gradle.daemon=false,-Dkotlin.incremental=false"
JAVA_OPTS: "-Xmx8G -XX:MaxMetaspaceSize=512m -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
jobs:
build:
uses: ./.github/workflows/setup_macos.yaml
with:
gradleTask: compileKotlinIosSimulatorArm64
lint:
needs: build
runs-on: macos-14
steps:
- name: checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup tools and cache for workspace
uses: ./.github/workflows/setup_tools_macos/
with:
kotlinVersion: ${{ needs.build.outputs.kotlinVersion }}
arch: ${{ runner.arch == 'X86' && 'x86' || runner.arch == 'X64' && 'x86_64' || runner.arch == 'ARM' && 'arm32' || 'arm64' }}
- name: ktLint
run: ./gradlew lintKotlin
- name: ktLint report
uses: actions/upload-artifact@v4
with:
name: ktLint report
path: build/reports/ktlint
if: ${{ failure() }}
test:
needs: build
runs-on: macos-14
strategy:
fail-fast: false
matrix:
module: ${{ fromJSON(needs.build.outputs.projects) }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: Setup tools and cache for workspace
uses: ./.github/workflows/setup_tools_macos/
with:
kotlinVersion: ${{ needs.build.outputs.kotlinVersion }}
arch: ${{ runner.arch == 'X86' && 'x86' || runner.arch == 'X64' && 'x86_64' || runner.arch == 'ARM' && 'arm32' || 'arm64' }}
- name: run iOS tests
run: ./gradlew :${{ matrix.module }}:ios${{ runner.arch == 'X86' && 'X86' || runner.arch == 'X64' && 'x86_64' || runner.arch == 'ARM' && 'SimulatorArm32' || 'SimulatorArm64' }}Test
- name: Upload iOS test artifact
uses: actions/upload-artifact@v4
if: failure()
with:
name: ${{ matrix.module}} iOS Test Report HTML
path: ${{ format('**{0}/build/reports/tests/ios{1}Test', matrix.module, runner.arch == 'X86' && 'X86' || runner.arch == 'X64' && 'x86_64' || runner.arch == 'ARM' && 'SimulatorArm32' || 'SimulatorArm64') }}