Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Commit c2adc3a

Browse files
authored
Run build on Mac (#128)
1 parent 6b7ac11 commit c2adc3a

File tree

2 files changed

+39
-3
lines changed

2 files changed

+39
-3
lines changed

.github/workflows/pull_request.yml

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ env:
66
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"
77

88
jobs:
9-
arrow-integrations_build:
10-
9+
linux:
1110
runs-on: ubuntu-latest
1211
timeout-minutes: 20
1312

@@ -33,7 +32,39 @@ jobs:
3332
uses: actions/upload-artifact@v4
3433
if: failure()
3534
with:
36-
name: 'reports-${{ matrix.os }}'
35+
name: 'reports-linux'
36+
path: '**/build/reports/**'
37+
38+
- name: Stop Gradle daemons
39+
run: ./gradlew --stop
40+
41+
macos:
42+
runs-on: macos-latest
43+
timeout-minutes: 40
44+
45+
steps:
46+
- uses: actions/checkout@v4
47+
with:
48+
fetch-depth: 0
49+
50+
- uses: actions/setup-java@v4
51+
with:
52+
distribution: 'temurin'
53+
java-version: '17'
54+
55+
- name: Setup Gradle
56+
uses: gradle/actions/setup-gradle@v4
57+
with:
58+
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
59+
60+
- name: Build and test with Gradle
61+
run: ./gradlew build --scan --stacktrace
62+
63+
- name: Upload reports
64+
uses: actions/upload-artifact@v4
65+
if: failure()
66+
with:
67+
name: 'reports-macos'
3768
path: '**/build/reports/**'
3869

3970
- name: Stop Gradle daemons

settings.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ pluginManagement {
77
}
88
}
99

10+
plugins {
11+
id("com.gradle.develocity") version "3.19"
12+
id("org.gradle.toolchains.foojay-resolver-convention") version("0.9.0")
13+
}
14+
1015
dependencyResolutionManagement {
1116
versionCatalogs {
1217
create("libs") {

0 commit comments

Comments
 (0)