Skip to content

Commit

Permalink
Mostly use MacOS and not Linux in CI
Browse files Browse the repository at this point in the history
The reason is that we build and reference iOS specific code and this may cause problems on other OS types.
  • Loading branch information
vRallev committed Oct 24, 2024
1 parent 2366957 commit 95cccc0
Showing 1 changed file with 4 additions and 26 deletions.
30 changes: 4 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,7 @@ on:
pull_request:

jobs:
test-ubuntu:
runs-on: ubuntu-latest
timeout-minutes: 25

steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
- uses: gradle/actions/setup-gradle@v4

- name: Test on Ubuntu
run: ./gradlew assemble test --stacktrace --show-version --continue

- name: Upload Test Results
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: test-results
path: ./**/build/reports/tests/

test-mac:
test:
runs-on: macos-latest
timeout-minutes: 25

Expand All @@ -54,7 +32,7 @@ jobs:
path: ./**/build/reports/tests/

binary-compatibility-check:
runs-on: ubuntu-latest
runs-on: macos-latest
timeout-minutes: 25

steps:
Expand All @@ -69,7 +47,7 @@ jobs:
run: ./gradlew apiCheck --stacktrace --show-version --continue

ktlint:
runs-on: ubuntu-latest
runs-on: macos-latest
timeout-minutes: 25

steps:
Expand Down Expand Up @@ -121,7 +99,7 @@ jobs:
run: ./gradlew detekt --stacktrace --show-version --continue

publish-maven-local:
runs-on: ubuntu-latest
runs-on: macos-latest
timeout-minutes: 25

steps:
Expand Down

0 comments on commit 95cccc0

Please sign in to comment.