@@ -13,7 +13,7 @@ concurrency:
1313
1414jobs :
1515 precompile :
16- runs-on : macos-13
16+ runs-on : ${{ matrix.pair.runs_on }}
1717 env :
1818 TFLITE_BEAM_PREFER_PRECOMPILED : " false"
1919 OTP_VERSION : ${{ matrix.pair.otp }}
@@ -25,17 +25,19 @@ jobs:
2525 matrix :
2626 include :
2727 # remember to change the `get_precompiled_nif_version/0` function in the `tflite_beam_precompiled` file
28- # if upgrade the Erlang/OTP version to 26.x or later
28+ # if upgrade the Erlang/OTP version to 26.x or later _kai_run_matmul_clamp_f32_qai8dxp1x8_qsi4cxp8x8_1x8x32_neon_dotprod
2929 # 2.16 for OTP 24.x and 25.x
3030 # 2.17 for OTP 26.x
3131 - pair :
3232 otp : " 25.3.2.9"
3333 arch : x86_64
3434 libedgetpu_library : darwin_x86_64
35+ runs_on : macos-13
3536 - pair :
3637 otp : " 25.3.2.9"
3738 arch : aarch64
3839 libedgetpu_library : darwin_arm64
40+ runs_on : macos-14
3941
4042 steps :
4143 - name : Checkout
6062 run : |
6163 export PATH=$HOME/.elixir-install/installs/otp/${OTP_VERSION}/bin:$PATH
6264 export PATH=$HOME/.cache/rebar3/bin:$PATH
63-
6465 export NIF_VERSION="$(erl -noshell -eval "io:format('~ts', [erlang:system_info(nif_version)])." -s erlang halt)"
65- if [ "${{ matrix.pair.arch }}" = "aarch64" ]; then
66- export TARGET_ARCH="${{ matrix.pair.arch }}"
67- export TARGET_OS="apple"
68- export TARGET_ABI="darwin"
69- export CPPFLAGS="-arch arm64"
70- export CMAKE_TFLITE_OPTIONS="-DCMAKE_OSX_ARCHITECTURES=arm64"
71- export TFLITE_BEAM_CORAL_LIBEDGETPU_LIBRARIES="aarch64"
72- fi
73-
74- echo "TFLITE_BEAM_PREFER_PRECOMPILED: ${TFLITE_BEAM_PREFER_PRECOMPILED}"
75- echo "TARGET_ARCH: ${TARGET_ARCH}"
76- echo "TARGET_OS: ${TARGET_OS}"
77- echo "TARGET_ABI: ${TARGET_ABI}"
7866
7967 rebar3 deps
8068 rebar3 compile
0 commit comments