Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 28 additions & 107 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
name: main
on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
check-headers:
# PRs from branches of this repository are already tested by the push event
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
name: Check headers
runs-on: ubuntu-latest
steps:
Expand All @@ -19,114 +25,29 @@ jobs:
include
name: Check public headers

Windows32:
strategy:
fail-fast: false
matrix:
haxe: [ 4.3.7, latest ]
uses: ./.github/workflows/test.yml
name: Test Windows (32bit)
with:
haxe: ${{ matrix.haxe }}
arch: 32
sep: \
ext: .dll
os: windows-latest

Windows64:
strategy:
fail-fast: false
matrix:
haxe: [ 4.3.7, latest ]
uses: ./.github/workflows/test.yml
name: Test Windows (64bit)
with:
haxe: ${{ matrix.haxe }}
arch: 64
sep: \
ext: .dll
os: windows-latest

WindowsArm64:
Test:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: false
matrix:
platform: [ Windows32, Windows64, WindowsArm64, MacOS64, MacOSArm, Linux32, Linux64, LinuxArm64 ]
haxe: [ 4.3.7, latest ]
uses: ./.github/workflows/test.yml
name: Test Windows (Arm64)
with:
haxe: ${{ matrix.haxe }}
arch: Arm64
sep: \
ext: .dll
os: windows-11-arm

MacOS64:
strategy:
fail-fast: false
matrix:
haxe: [ 4.3.7, latest ]
uses: ./.github/workflows/test.yml
name: Test MacOS (x86_64)
with:
haxe: ${{ matrix.haxe }}
arch: 64
sep: /
ext: .dylib
os: macos-15-intel

MacOSArm:
strategy:
fail-fast: false
matrix:
haxe: [ 4.3.7, latest ]
uses: ./.github/workflows/test.yml
name: Test MacOS (Arm64)
with:
haxe: ${{ matrix.haxe }}
arch: Arm64
sep: /
ext: .dylib
os: macos-latest

Linux32:
strategy:
fail-fast: false
matrix:
haxe: [ 4.3.7, latest ]
uses: ./.github/workflows/test.yml
name: Test Linux (32bit)
with:
haxe: ${{ matrix.haxe }}
arch: 32
sep: /
ext: .dso
os: ubuntu-latest

Linux64:
strategy:
fail-fast: false
matrix:
haxe: [ 4.3.7, latest ]
uses: ./.github/workflows/test.yml
name: Test Linux (64bit)
with:
haxe: ${{ matrix.haxe }}
arch: 64
sep: /
ext: .dso
os: ubuntu-latest

LinuxArm64:
strategy:
fail-fast: false
matrix:
haxe: [ latest ] # 4.3.7 doesn't have a linux arm build
uses: ./.github/workflows/test.yml
name: Test Linux (Arm64)
with:
haxe: ${{ matrix.haxe }}
arch: Arm64
sep: /
ext: .dso
os: ubuntu-24.04-arm
exclude:
- platform: LinuxArm64 # 4.3.7 doesn't have a linux arm build
haxe: 4.3.7
include:
- { platform: Windows32, name: Windows (32bit), arch: 32, ext: .dll, os: windows-latest }
- { platform: Windows64, name: Windows (64bit), arch: 64, ext: .dll, os: windows-latest }
- { platform: WindowsArm64, name: Windows (Arm64), arch: Arm64, ext: .dll, os: windows-11-arm }
- { platform: MacOS64, name: MacOS (x86_64), arch: 64, ext: .dylib, os: macos-15-intel }
- { platform: MacOSArm, name: MacOS (Arm64), arch: Arm64, ext: .dylib, os: macos-latest }
- { platform: Linux32, name: Linux (32bit), arch: 32, ext: .dso, os: ubuntu-latest }
- { platform: Linux64, name: Linux (64bit), arch: 64, ext: .dso, os: ubuntu-latest }
- { platform: LinuxArm64, name: Linux (Arm64), arch: Arm64, ext: .dso, os: ubuntu-24.04-arm }
uses: ./.github/workflows/test.yml
name: Test ${{ matrix.name }} (${{ matrix.haxe }})
with:
haxe: ${{ matrix.haxe }}
arch: ${{ matrix.arch }}
ext: ${{ matrix.ext }}
os: ${{ matrix.os }}
Loading
Loading