|
@@ -797,21 +797,16 @@ jobs:
|
|
|
|
|
|
mac-test:
|
|
mac-test:
|
|
needs: mac-build-universal
|
|
needs: mac-build-universal
|
|
- runs-on: ${{ matrix.os }}
|
|
|
|
|
|
+ runs-on: macos-latest
|
|
env:
|
|
env:
|
|
- PLATFORM: mac${{ matrix.os == 'macos-latest' && '-arm64' || '' }}
|
|
|
|
|
|
+ PLATFORM: mac-arm64
|
|
TEST: ${{matrix.target}}
|
|
TEST: ${{matrix.target}}
|
|
HXCPP_COMPILE_CACHE: ~/hxcache
|
|
HXCPP_COMPILE_CACHE: ~/hxcache
|
|
HAXE_STD_PATH: /usr/local/share/haxe/std
|
|
HAXE_STD_PATH: /usr/local/share/haxe/std
|
|
strategy:
|
|
strategy:
|
|
fail-fast: false
|
|
fail-fast: false
|
|
matrix:
|
|
matrix:
|
|
- os: [macos-latest]
|
|
|
|
- target: [macro, js, cpp, jvm, php, python, lua, flash, neko]
|
|
|
|
- include:
|
|
|
|
- - target: hl
|
|
|
|
- os: macos-13
|
|
|
|
- BREW_PACKAGES: ninja
|
|
|
|
|
|
+ target: [macro, js, cpp, jvm, php, python, lua, flash, neko, hl]
|
|
|
|
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@main
|
|
- uses: actions/checkout@main
|
|
@@ -819,7 +814,10 @@ jobs:
|
|
submodules: recursive
|
|
submodules: recursive
|
|
- uses: actions/download-artifact@v4
|
|
- uses: actions/download-artifact@v4
|
|
with:
|
|
with:
|
|
- name: macBinaries
|
|
|
|
|
|
+ # install the arm64-only binaries for HL to avoid issues with Rosetta
|
|
|
|
+ # the sys tests invoke Haxe, which invokes haxelib, which requires neko
|
|
|
|
+ # invoking the universal version of haxelib from an x86_64 process fails because neko is arm64-only
|
|
|
|
+ name: ${{ matrix.target == 'hl' && 'macArmBinaries' || 'macBinaries' }}
|
|
path: macBinaries
|
|
path: macBinaries
|
|
|
|
|
|
- name: Install Neko from S3
|
|
- name: Install Neko from S3
|
|
@@ -863,10 +861,6 @@ jobs:
|
|
mkdir ~/haxelib
|
|
mkdir ~/haxelib
|
|
haxelib setup ~/haxelib
|
|
haxelib setup ~/haxelib
|
|
|
|
|
|
- - name: Install homebrew packages
|
|
|
|
- if: matrix.BREW_PACKAGES
|
|
|
|
- run: brew install ${{matrix.BREW_PACKAGES}}
|
|
|
|
-
|
|
|
|
- name: Test
|
|
- name: Test
|
|
run: |
|
|
run: |
|
|
# disable invalid Unicode filenames on APFS
|
|
# disable invalid Unicode filenames on APFS
|