@@ -42,12 +42,17 @@ jobs:
4242 platform :
4343 - runner : ubuntu-latest
4444 target : x86_64-unknown-linux-gnu
45- # - runner: macOS-latest
46- # target: x86_64-apple-darwin
47- - runner : macOS -latest
45+ - runner : ubuntu-24.04-arm
46+ target : aarch64-unknown-linux-gnu
47+ - runner : macos -latest
4848 target : aarch64-apple-darwin
49+ - runner : macos-15-intel
50+ target : x86_64-apple-darwin
4951 - runner : windows-latest
5052 target : x86_64-pc-windows-msvc
53+ - runner : windows-latest
54+ target : aarch64-pc-windows-msvc
55+ skip_test_run : true
5156 toolchain : [stable]
5257 features : ["cjk"]
5358 runs-on : ${{ matrix.platform.runner }}
6570 components : rustfmt, clippy
6671
6772 - name : Run test
68- run : cargo test --target "${{ matrix.platform.target }}" --all-features
73+ run : cargo test --target "${{ matrix.platform.target }}" --all-features ${{ matrix.platform.skip_test_run == true && '--no-run' || '' }}
6974
7075 build :
7176 name : Build
@@ -77,33 +82,41 @@ jobs:
7782 target : x86_64-unknown-linux-gnu
7883 archive : .zip
7984 extension : " .so"
80- # - runner: macos-latest
81- # target: x86_64-apple-darwin
82- # archive: .zip
83- # extension: ".dylib "
85+ - runner : ubuntu-24.04-arm
86+ target : aarch64-unknown-linux-gnu
87+ archive : .zip
88+ extension : " .so "
8489 - runner : macos-latest
8590 target : aarch64-apple-darwin
8691 archive : .zip
8792 extension : " .dylib"
93+ - runner : macos-15-intel
94+ target : x86_64-apple-darwin
95+ archive : .zip
96+ extension : " .dylib"
8897 - runner : windows-latest
8998 target : x86_64-pc-windows-msvc
9099 archive : .zip
91100 extension : " .dll"
101+ - runner : windows-latest
102+ target : aarch64-pc-windows-msvc
103+ archive : .zip
104+ extension : " .dll"
92105 toolchain : [stable]
93106 features :
94- - value : " embedded -ipadic"
107+ - value : " embed -ipadic"
95108 package_name : " lindera-sqlite-ipadic"
96109 package_description : " Python binding for Lindera with Japanese dictionary (IPADIC)"
97- - value : " embedded -unidic"
110+ - value : " embed -unidic"
98111 package_name : " lindera-sqlite-unidic"
99112 package_description : " Python binding for Lindera with Japanese dictionary (Unidic)"
100- - value : " embedded -ko-dic"
113+ - value : " embed -ko-dic"
101114 package_name : " lindera-sqlite-ko-dic"
102115 package_description : " Python binding for Lindera with Korean dictionary (ko-dic)"
103- - value : " embedded -cc-cedict"
116+ - value : " embed -cc-cedict"
104117 package_name : " lindera-sqlite-cc-cedict"
105118 package_description : " Python binding for Lindera with CHinese dictionary (CC-CEDICT)"
106- - value : " embedded -cjk"
119+ - value : " embed -cjk"
107120 package_name : " lindera-sqlite"
108121 package_description : " Python binding for Lindera with CJK dictionaries (IPADIC, ko-dic, CC-CEDICT)"
109122 runs-on : ${{ matrix.platform.runner }}
0 commit comments