11name : main
22on : [push, pull_request]
33
4+ concurrency :
5+ group : ${{ github.workflow }}-${{ github.ref }}
6+ cancel-in-progress : ${{ github.ref != 'refs/heads/master' }}
7+
48jobs :
59 check-headers :
10+ # PRs from branches of this repository are already tested by the push event
11+ if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
612 name : Check headers
713 runs-on : ubuntu-latest
814 steps :
@@ -19,114 +25,29 @@ jobs:
1925 include
2026 name: Check public headers
2127
22- Windows32 :
23- strategy :
24- fail-fast : false
25- matrix :
26- haxe : [ 4.3.7, latest ]
27- uses : ./.github/workflows/test.yml
28- name : Test Windows (32bit)
29- with :
30- haxe : ${{ matrix.haxe }}
31- arch : 32
32- sep : \
33- ext : .dll
34- os : windows-latest
35-
36- Windows64 :
37- strategy :
38- fail-fast : false
39- matrix :
40- haxe : [ 4.3.7, latest ]
41- uses : ./.github/workflows/test.yml
42- name : Test Windows (64bit)
43- with :
44- haxe : ${{ matrix.haxe }}
45- arch : 64
46- sep : \
47- ext : .dll
48- os : windows-latest
49-
50- WindowsArm64 :
28+ Test :
29+ if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
5130 strategy :
5231 fail-fast : false
5332 matrix :
33+ platform : [ Windows32, Windows64, WindowsArm64, MacOS64, MacOSArm, Linux32, Linux64, LinuxArm64 ]
5434 haxe : [ 4.3.7, latest ]
55- uses : ./.github/workflows/test.yml
56- name : Test Windows (Arm64)
57- with :
58- haxe : ${{ matrix.haxe }}
59- arch : Arm64
60- sep : \
61- ext : .dll
62- os : windows-11-arm
63-
64- MacOS64 :
65- strategy :
66- fail-fast : false
67- matrix :
68- haxe : [ 4.3.7, latest ]
69- uses : ./.github/workflows/test.yml
70- name : Test MacOS (x86_64)
71- with :
72- haxe : ${{ matrix.haxe }}
73- arch : 64
74- sep : /
75- ext : .dylib
76- os : macos-15-intel
77-
78- MacOSArm :
79- strategy :
80- fail-fast : false
81- matrix :
82- haxe : [ 4.3.7, latest ]
83- uses : ./.github/workflows/test.yml
84- name : Test MacOS (Arm64)
85- with :
86- haxe : ${{ matrix.haxe }}
87- arch : Arm64
88- sep : /
89- ext : .dylib
90- os : macos-latest
91-
92- Linux32 :
93- strategy :
94- fail-fast : false
95- matrix :
96- haxe : [ 4.3.7, latest ]
97- uses : ./.github/workflows/test.yml
98- name : Test Linux (32bit)
99- with :
100- haxe : ${{ matrix.haxe }}
101- arch : 32
102- sep : /
103- ext : .dso
104- os : ubuntu-latest
105-
106- Linux64 :
107- strategy :
108- fail-fast : false
109- matrix :
110- haxe : [ 4.3.7, latest ]
111- uses : ./.github/workflows/test.yml
112- name : Test Linux (64bit)
113- with :
114- haxe : ${{ matrix.haxe }}
115- arch : 64
116- sep : /
117- ext : .dso
118- os : ubuntu-latest
119-
120- LinuxArm64 :
121- strategy :
122- fail-fast : false
123- matrix :
124- haxe : [ latest ] # 4.3.7 doesn't have a linux arm build
125- uses : ./.github/workflows/test.yml
126- name : Test Linux (Arm64)
127- with :
128- haxe : ${{ matrix.haxe }}
129- arch : Arm64
130- sep : /
131- ext : .dso
132- os : ubuntu-24.04-arm
35+ exclude :
36+ - platform : LinuxArm64 # 4.3.7 doesn't have a linux arm build
37+ haxe : 4.3.7
38+ include :
39+ - { platform: Windows32, name: Windows (32bit), arch: 32, ext: .dll, os: windows-latest }
40+ - { platform: Windows64, name: Windows (64bit), arch: 64, ext: .dll, os: windows-latest }
41+ - { platform: WindowsArm64, name: Windows (Arm64), arch: Arm64, ext: .dll, os: windows-11-arm }
42+ - { platform: MacOS64, name: MacOS (x86_64), arch: 64, ext: .dylib, os: macos-15-intel }
43+ - { platform: MacOSArm, name: MacOS (Arm64), arch: Arm64, ext: .dylib, os: macos-latest }
44+ - { platform: Linux32, name: Linux (32bit), arch: 32, ext: .dso, os: ubuntu-latest }
45+ - { platform: Linux64, name: Linux (64bit), arch: 64, ext: .dso, os: ubuntu-latest }
46+ - { platform: LinuxArm64, name: Linux (Arm64), arch: Arm64, ext: .dso, os: ubuntu-24.04-arm }
47+ uses : ./.github/workflows/test.yml
48+ name : Test ${{ matrix.name }} (${{ matrix.haxe }})
49+ with :
50+ haxe : ${{ matrix.haxe }}
51+ arch : ${{ matrix.arch }}
52+ ext : ${{ matrix.ext }}
53+ os : ${{ matrix.os }}
0 commit comments