Skip to content

Commit aa0b357

Browse files
committed
GH-7: Add macOS, Windows CI
Fixes #7. Fixes #8.
1 parent 432056f commit aa0b357

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

.github/workflows/test.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,66 @@ jobs:
7272
-e CI=true \
7373
-e "DEVELOCITY_ACCESS_KEY=$DEVELOCITY_ACCESS_KEY" \
7474
${{ matrix.image }}
75+
76+
macos:
77+
name: AMD64 macOS ${{ matrix.macos }} Java JDK ${{ matrix.jdk }}
78+
runs-on: macos-${{ matrix.macos }}
79+
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
80+
timeout-minutes: 30
81+
strategy:
82+
fail-fast: false
83+
matrix:
84+
jdk: [11]
85+
macos: [13, latest]
86+
steps:
87+
- name: Set up Java
88+
uses: actions/setup-java@v4
89+
with:
90+
distribution: 'temurin'
91+
java-version: ${{ matrix.jdk }}
92+
- name: Checkout Arrow
93+
uses: actions/checkout@v4
94+
with:
95+
fetch-depth: 0
96+
submodules: recursive
97+
- name: Build
98+
shell: bash
99+
env:
100+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
101+
run: ci/scripts/java_build.sh $(pwd) $(pwd)/build
102+
- name: Test
103+
shell: bash
104+
env:
105+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
106+
run: ci/scripts/java_test.sh $(pwd) $(pwd)/build
107+
108+
windows:
109+
name: AMD64 Windows Server 2022 Java JDK ${{ matrix.jdk }}
110+
runs-on: windows-latest
111+
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
112+
timeout-minutes: 30
113+
strategy:
114+
fail-fast: false
115+
matrix:
116+
jdk: [11]
117+
steps:
118+
- name: Set up Java
119+
uses: actions/setup-java@v4
120+
with:
121+
java-version: ${{ matrix.jdk }}
122+
distribution: 'temurin'
123+
- name: Checkout Arrow
124+
uses: actions/checkout@v4
125+
with:
126+
fetch-depth: 0
127+
submodules: recursive
128+
- name: Build
129+
shell: bash
130+
env:
131+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
132+
run: ci/scripts/java_build.sh $(pwd) $(pwd)/build
133+
- name: Test
134+
shell: bash
135+
env:
136+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
137+
run: ci/scripts/java_test.sh $(pwd) $(pwd)/build

0 commit comments

Comments
 (0)