@@ -236,9 +236,6 @@ jobs:
236
236
- target : s390x-unknown-linux-gnu
237
237
- target : x86_64-unknown-linux-gnux32
238
238
- target : x86_64-unknown-netbsd
239
- - target : aarch64-unknown-linux-ohos
240
- - target : armv7-unknown-linux-ohos
241
- - target : x86_64-unknown-linux-ohos
242
239
243
240
steps :
244
241
- name : checkout
@@ -263,6 +260,41 @@ jobs:
263
260
- name : before_cache_script
264
261
run : rm -rf $CARGO_HOME/registry/index
265
262
263
+ openharmony :
264
+ runs-on : ubuntu-latest
265
+ needs : [rustfmt, minver, macos, linux_native_builds, rust_stable]
266
+ env :
267
+ BUILD : check
268
+ strategy :
269
+ fail-fast : false
270
+ matrix :
271
+ include :
272
+ - target : aarch64-unknown-linux-ohos
273
+ - target : armv7-unknown-linux-ohos
274
+ - target : x86_64-unknown-linux-ohos
275
+
276
+ steps :
277
+ - name : checkout
278
+ uses : actions/checkout@v4
279
+
280
+ - name : setup Rust
281
+ uses : dtolnay/rust-toolchain@master
282
+ with :
283
+ # OpenHarmony is supported with tier2 with 1.79.0 or newer.
284
+ toolchain : ' 1.79.0'
285
+ components : clippy
286
+
287
+ - name : install targets
288
+ run : rustup target add ${{ matrix.target }}
289
+
290
+ - name : build
291
+ uses : ./.github/actions/build
292
+ with :
293
+ TARGET : ' ${{ matrix.target }}'
294
+ BUILD : ' ${{ env.BUILD }}'
295
+
296
+ - name : before_cache_script
297
+ run : rm -rf $CARGO_HOME/registry/index
266
298
267
299
redox :
268
300
runs-on : ubuntu-latest
0 commit comments