@@ -18,21 +18,14 @@ jobs:
18
18
include :
19
19
- os : ubuntu-22.04
20
20
arch : x86_64
21
- skip_tests : false
22
21
- os : ubuntu-22.04-arm
23
22
arch : aarch64
24
- # JavaFX 21.x.x doesn't support `linux/aarch64`
25
- # So skip tests until JavaFX is updated
26
- skip_tests : true
27
23
- os : macos-13
28
24
arch : x86_64
29
- skip_tests : false
30
25
- os : macos-15
31
26
arch : aarch64
32
- skip_tests : false
33
27
- os : windows-latest
34
28
arch : x86_64
35
- skip_tests : false
36
29
fail-fast : false
37
30
runs-on : ${{ matrix.os }}
38
31
steps :
@@ -46,15 +39,17 @@ jobs:
46
39
distribution : ' adopt'
47
40
cache : gradle
48
41
- name : Build with Gradle with tests
49
- if : matrix.skip_tests == false
42
+ if : ${{ !(runner.os == 'Linux' && matrix.arch == 'aarch64') }}
50
43
run : ./gradlew build --stacktrace --scan
51
- - name : Build with Gradle without tests
52
- if : matrix.skip_tests == true
44
+ - name : Build with Gradle, skip Desktop tests
45
+ # JavaFX 21.x.x doesn't support `linux/aarch64`
46
+ # So skip Desktop tests until JavaFX is updated
47
+ if : ${{ (runner.os == 'Linux' && matrix.arch == 'aarch64') }}
53
48
run : |
54
- ./gradlew build --stacktrace --scan -x test
55
- echo "::warning title=Tests Skipped::Tests were intentionally skipped for linux/aarch64 builds \
56
- as JavaFX 21.x.x doesn't currently support the linux/aarch64 architecture. \
57
- This should be revisited when JavaFX is next updated."
49
+ ./gradlew build --stacktrace --scan -x desktop: test
50
+ echo "::warning title=Desktop Tests Skipped::Desktop tests (desktop:test) were \
51
+ intentionally skipped for linux/aarch64 builds as JavaFX 21.x.x doesn't currently support \
52
+ the linux/aarch64 architecture. This should be revisited when JavaFX is next updated."
58
53
- uses : actions/upload-artifact@v4
59
54
if : failure()
60
55
with :
@@ -80,16 +75,18 @@ jobs:
80
75
.\wix314.exe /quiet /norestart
81
76
shell : powershell
82
77
- name : Build Haveno Installer with tests
83
- if : matrix.skip_tests == false
78
+ if : ${{ !(runner.os == 'Linux' && matrix.arch == 'aarch64') }}
84
79
run : ./gradlew clean build --refresh-keys --refresh-dependencies
85
80
working-directory : .
86
- - name : Build Haveno Installer without tests
87
- if : matrix.skip_tests == true
81
+ - name : Build Haveno Installer, skip Desktop tests
82
+ # JavaFX 21.x.x doesn't support `linux/aarch64`
83
+ # So skip Desktop tests until JavaFX is updated
84
+ if : ${{ (runner.os == 'Linux' && matrix.arch == 'aarch64') }}
88
85
run : |
89
- ./gradlew clean build --refresh-keys --refresh-dependencies -x test
90
- echo "::warning title=Tests Skipped::Tests were intentionally skipped for linux/aarch64 builds \
91
- as JavaFX 21.x.x doesn't currently support the linux/aarch64 architecture. \
92
- This should be revisited when JavaFX is next updated."
86
+ ./gradlew clean build --refresh-keys --refresh-dependencies -x desktop: test
87
+ echo "::warning title=Desktop Tests Skipped::Desktop tests (desktop:test) were \
88
+ intentionally skipped for linux/aarch64 builds as JavaFX 21.x.x doesn't currently support \
89
+ the linux/aarch64 architecture. This should be revisited when JavaFX is next updated."
93
90
working-directory : .
94
91
- name : Package Haveno Installer
95
92
run : ./gradlew packageInstallers
0 commit comments