Skip to content

Commit c3474ca

Browse files
committed
fix ci
1 parent f53bb4f commit c3474ca

File tree

2 files changed

+63
-5
lines changed

2 files changed

+63
-5
lines changed

.github/workflows/linux-precompile.yml

Lines changed: 52 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
runs-on: ubuntu-20.04
1717
env:
1818
TFLITE_BEAM_PREFER_PRECOMPILED: NO
19-
name: Linux ${{ matrix.pair.target_arch }}-${{ matrix.pair.target_os }}-${{ matrix.pair.target_abi }} - OTP ${{ matrix.otp }}
19+
name: Linux ${{ matrix.pair.target_arch }}-${{ matrix.pair.target_os }}-${{ matrix.pair.target_abi }} - OTP ${{ matrix.pair.otp }}
2020

2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
otp: ["25.x", "26.x"]
2524
include:
2625
- pair:
26+
otp: "25.x"
2727
arch_name: x86_64
2828
cmake_toolchain_file: ""
2929
c_compiler: gcc
@@ -33,6 +33,7 @@ jobs:
3333
target_os: "linux"
3434
target_abi: "gnu"
3535
- pair:
36+
otp: "25.x"
3637
arch_name: aarch64
3738
cmake_toolchain_file: cc_toolchain/aarch64-linux-gnu.cmake
3839
c_compiler: gcc-aarch64-linux-gnu
@@ -44,6 +45,7 @@ jobs:
4445
cc: "/usr/bin/aarch64-linux-gnu-gcc"
4546
cxx: "/usr/bin/aarch64-linux-gnu-g++"
4647
- pair:
48+
otp: "25.x"
4749
arch_name: armv7l
4850
cmake_toolchain_file: cc_toolchain/armv7l-linux-gnueabihf.cmake
4951
c_compiler: gcc-arm-linux-gnueabihf
@@ -55,6 +57,53 @@ jobs:
5557
cc: "/usr/bin/arm-linux-gnueabihf-gcc"
5658
cxx: "/usr/bin/arm-linux-gnueabihf-g++"
5759
- pair:
60+
otp: "25.x"
61+
arch_name: riscv64
62+
cmake_toolchain_file: cc_toolchain/riscv64-linux-gnu.cmake
63+
c_compiler: gcc-riscv64-linux-gnu
64+
cpp_compiler: g++-riscv64-linux-gnu
65+
libedgetpu_library: "riscv64"
66+
target_arch: "riscv64"
67+
target_os: "linux"
68+
target_abi: "gnu"
69+
cc: "/usr/bin/riscv64-linux-gnu-gcc"
70+
cxx: "/usr/bin/riscv64-linux-gnu-g++"
71+
- pair:
72+
otp: "26.x"
73+
arch_name: x86_64
74+
cmake_toolchain_file: ""
75+
c_compiler: gcc
76+
cpp_compiler: g++
77+
libedgetpu_library: "x86_64"
78+
target_arch: "x86_64"
79+
target_os: "linux"
80+
target_abi: "gnu"
81+
- pair:
82+
otp: "26.x"
83+
arch_name: aarch64
84+
cmake_toolchain_file: cc_toolchain/aarch64-linux-gnu.cmake
85+
c_compiler: gcc-aarch64-linux-gnu
86+
cpp_compiler: g++-aarch64-linux-gnu
87+
libedgetpu_library: "aarch64"
88+
target_arch: "aarch64"
89+
target_os: "linux"
90+
target_abi: "gnu"
91+
cc: "/usr/bin/aarch64-linux-gnu-gcc"
92+
cxx: "/usr/bin/aarch64-linux-gnu-g++"
93+
- pair:
94+
otp: "26.x"
95+
arch_name: armv7l
96+
cmake_toolchain_file: cc_toolchain/armv7l-linux-gnueabihf.cmake
97+
c_compiler: gcc-arm-linux-gnueabihf
98+
cpp_compiler: g++-arm-linux-gnueabihf
99+
libedgetpu_library: "armv7l"
100+
target_arch: "armv7l"
101+
target_os: "linux"
102+
target_abi: "gnueabihf"
103+
cc: "/usr/bin/arm-linux-gnueabihf-gcc"
104+
cxx: "/usr/bin/arm-linux-gnueabihf-g++"
105+
- pair:
106+
otp: "26.x"
58107
arch_name: riscv64
59108
cmake_toolchain_file: cc_toolchain/riscv64-linux-gnu.cmake
60109
c_compiler: gcc-riscv64-linux-gnu
@@ -71,7 +120,7 @@ jobs:
71120

72121
- uses: erlef/setup-beam@v1
73122
with:
74-
otp-version: ${{ matrix.otp }}
123+
otp-version: ${{ matrix.pair.otp }}
75124

76125
- name: Install system dependecies
77126
run: |

.github/workflows/macos-precompile.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,26 @@ jobs:
1717
env:
1818
TFLITE_BEAM_PREFER_PRECOMPILED: "false"
1919
elixir_version: "1.15.2"
20-
name: macOS ${{ matrix.pair.arch }} - OTP ${{ matrix.otp }}
20+
name: macOS ${{ matrix.pair.arch }} - OTP ${{ matrix.pair.otp }}
2121

2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
otp: ["25.3.2.3", "26.0.2"]
2625
include:
2726
- pair:
27+
otp: "25.3.2.3"
2828
arch: x86_64
2929
libedgetpu_library: darwin_x86_64
3030
- pair:
31+
otp: "25.3.2.3"
32+
arch: aarch64
33+
libedgetpu_library: darwin_arm64
34+
- pair:
35+
otp: "26.0.2"
36+
arch: x86_64
37+
libedgetpu_library: darwin_x86_64
38+
- pair:
39+
otp: "26.0.2"
3140
arch: aarch64
3241
libedgetpu_library: darwin_arm64
3342

0 commit comments

Comments
 (0)