Skip to content

Commit 14f182f

Browse files
authored
ci: test on Ubuntu ARM and Windows ARM (#965)
1 parent 6b357a7 commit 14f182f

2 files changed

Lines changed: 28 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,28 @@ jobs:
6464
strategy:
6565
fail-fast: false
6666
matrix:
67-
os: # https://github.com/actions/runner-images#available-images
67+
os:
68+
# https://github.com/actions/runner-images#available-images
6869
- ubuntu-latest
6970
- macos-15-intel # Intel
7071
- macos-latest # ARM
7172
- windows-latest
73+
# https://github.com/actions/partner-runner-images
74+
- ubuntu-24.04-arm
75+
- windows-11-arm
7276
target-platform:
7377
- oldest
7478
- latest
75-
- staging
79+
include:
80+
- os: ubuntu-latest
81+
target-platform: staging
82+
exclude:
83+
- os: windows-11-arm
84+
# "target-platform: oldest" fails on Windows 11 ARM with:
85+
# An unexpected error occurred while launching the test runtime (process returned error code 13
86+
# (HRESULT Code 0xD, check for example https://www.hresult.info/ for further details)).
87+
target-platform: oldest
88+
7689

7790
runs-on: ${{ matrix.os }}
7891
timeout-minutes: 15
@@ -141,13 +154,15 @@ jobs:
141154

142155
- name: "Install: JDK 25 for Maven/Tycho ☕"
143156
uses: actions/setup-java@v5 # https://github.com/actions/setup-java
157+
if: matrix.os != 'windows-11-arm' # TODO not yet available
144158
with:
145159
distribution: temurin
146160
java-version: 25
147161

148162

149163
- name: "Cache: Local Maven Repository"
150164
uses: actions/cache@v4
165+
if: runner.os != 'macOS' # FIXME workaround for https://github.com/actions/runner/issues/449#issuecomment-3566876749
151166
with:
152167
# Excluded sub directory not working https://github.com/actions/toolkit/issues/713
153168
path: |
@@ -161,6 +176,7 @@ jobs:
161176

162177
- name: "Cache: Local Tycho Repository"
163178
uses: actions/cache@v4
179+
if: runner.os != 'macOS' # FIXME workaround for https://github.com/actions/runner/issues/449#issuecomment-3566876749
164180
with:
165181
path: |
166182
~/.m2/repository/.cache/tycho

pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,21 @@
115115
<ws>win32</ws>
116116
<arch>x86_64</arch>
117117
</environment>
118+
<environment>
119+
<os>win32</os>
120+
<ws>win32</ws>
121+
<arch>aarch64</arch>
122+
</environment>
118123
<environment>
119124
<os>linux</os>
120125
<ws>gtk</ws>
121126
<arch>x86_64</arch>
122127
</environment>
128+
<environment>
129+
<os>linux</os>
130+
<ws>gtk</ws>
131+
<arch>aarch64</arch>
132+
</environment>
123133
<environment>
124134
<os>macosx</os>
125135
<ws>cocoa</ws>

0 commit comments

Comments
 (0)