Skip to content

Commit

Permalink
Run build on Mac (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
serras authored Jan 21, 2025
1 parent 6b7ac11 commit c2adc3a
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
37 changes: 34 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ env:
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dorg.gradle.kotlin.dsl.internal.io.timeout=120000 -Dorg.gradle.jvmargs="-Xmx5g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8"

jobs:
arrow-integrations_build:

linux:
runs-on: ubuntu-latest
timeout-minutes: 20

Expand All @@ -33,7 +32,39 @@ jobs:
uses: actions/upload-artifact@v4
if: failure()
with:
name: 'reports-${{ matrix.os }}'
name: 'reports-linux'
path: '**/build/reports/**'

- name: Stop Gradle daemons
run: ./gradlew --stop

macos:
runs-on: macos-latest
timeout-minutes: 40

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' }}

- name: Build and test with Gradle
run: ./gradlew build --scan --stacktrace

- name: Upload reports
uses: actions/upload-artifact@v4
if: failure()
with:
name: 'reports-macos'
path: '**/build/reports/**'

- name: Stop Gradle daemons
Expand Down
5 changes: 5 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ pluginManagement {
}
}

plugins {
id("com.gradle.develocity") version "3.19"
id("org.gradle.toolchains.foojay-resolver-convention") version("0.9.0")
}

dependencyResolutionManagement {
versionCatalogs {
create("libs") {
Expand Down

0 comments on commit c2adc3a

Please sign in to comment.