|
49 | 49 | uses: ./.github/workflows/reusable-build-on-macos.yml |
50 | 50 | with: |
51 | 51 | version: ${{ needs.create_release.outputs.version }} |
52 | | - matrix: "[{'name':'MacOS 11 (x86_64)','runner':'macos-11','darwin_version':20,'arch':'x86_64'}, |
53 | | - {'name':'MacOS 13 (arm64)','runner':'mac-arm64','darwin_version':22,'arch':'arm64'}]" |
| 52 | + matrix: |
| 53 | + "[{'name':'MacOS 11 (x86_64)','runner':'macos-11','darwin_version':20,'arch':'x86_64'}, |
| 54 | + {'name':'MacOS 13 (arm64)','runner':'mac-arm64','darwin_version':22,'arch':'arm64'}]" |
54 | 55 | release: true |
55 | 56 | secrets: inherit |
56 | 57 |
|
|
68 | 69 | uses: ./.github/workflows/reusable-build-on-manylinux.yml |
69 | 70 | with: |
70 | 71 | version: ${{ needs.create_release.outputs.version }} |
71 | | - matrix: "[{'name':'manylinux 2014 x86_64','runner':'ubuntu-latest','docker_tag':'manylinux2014_x86_64'}, |
72 | | - {'name':'manylinux 2014 aarch64','runner':'linux-arm64','docker_tag':'manylinux2014_aarch64'}]" |
| 72 | + matrix: |
| 73 | + "[{'name':'manylinux 2014 x86_64','runner':'ubuntu-latest','docker_tag':'manylinux2014_x86_64'}, |
| 74 | + {'name':'manylinux 2014 aarch64','runner':'linux-arm64','docker_tag':'manylinux2014_aarch64'}]" |
73 | 75 | release: true |
74 | 76 | secrets: inherit |
75 | 77 |
|
@@ -188,7 +190,8 @@ jobs: |
188 | 190 | - name: Install dependencies |
189 | 191 | run: | |
190 | 192 | apt update |
191 | | - apt install -y libssl-dev |
| 193 | + apt install -y libssl-dev cmake g++ wget unzip |
| 194 | + bash utils/opencvmini/install-opencvmini.sh |
192 | 195 | - name: Build plugins |
193 | 196 | shell: bash |
194 | 197 | run: | |
@@ -373,8 +376,9 @@ jobs: |
373 | 376 | - name: Build and install dependencies |
374 | 377 | run: | |
375 | 378 | yum update -y |
376 | | - yum install -y zlib-devel zlib-static |
| 379 | + yum install -y zlib-devel zlib-static cmake devtoolset-8 wget unzip |
377 | 380 | bash ./utils/wasi-crypto/build-openssl.sh |
| 381 | + bash utils/opencvmini/install-opencvmini.sh |
378 | 382 | - name: Build plugins |
379 | 383 | shell: bash |
380 | 384 | run: | |
@@ -444,8 +448,8 @@ jobs: |
444 | 448 | env: |
445 | 449 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
446 | 450 | run: | |
447 | | - mv plugin_wasmedge_opencvmini.tar.gz WasmEdge-plugin-wasmedge_opencvmini-${{ needs.create_release.outputs.version }}-ubuntu20.04_x86_64.tar.gz |
448 | | - gh release upload ${{ needs.create_release.outputs.version }} WasmEdge-plugin-wasmedge_opencvmini-${{ needs.create_release.outputs.version }}-ubuntu20.04_x86_64.tar.gz --clobber |
| 451 | + mv plugin_wasmedge_opencvmini.tar.gz WasmEdge-plugin-wasmedge_opencvmini-${{ needs.create_release.outputs.version }}-${{ matrix.docker_tag }}.tar.gz |
| 452 | + gh release upload ${{ needs.create_release.outputs.version }} WasmEdge-plugin-wasmedge_opencvmini-${{ needs.create_release.outputs.version }}-${{ matrix.docker_tag }}.tar.gz --clobber |
449 | 453 |
|
450 | 454 | build_and_upload_plugin_macos: |
451 | 455 | strategy: |
@@ -479,7 +483,7 @@ jobs: |
479 | 483 | git config --global --add safe.directory $(pwd) |
480 | 484 | - name: Install dependencies |
481 | 485 | run: | |
482 | | - brew install llvm ninja cmake openssl |
| 486 | + brew install llvm ninja cmake openssl opencv |
483 | 487 | - name: Build plugins |
484 | 488 | shell: bash |
485 | 489 | run: | |
@@ -541,8 +545,8 @@ jobs: |
541 | 545 | env: |
542 | 546 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
543 | 547 | run: | |
544 | | - mv plugin_wasmedge_opencvmini.tar.gz WasmEdge-plugin-wasmedge_opencvmini-${{ needs.create_release.outputs.version }}-ubuntu20.04_x86_64.tar.gz |
545 | | - gh release upload ${{ needs.create_release.outputs.version }} WasmEdge-plugin-wasmedge_opencvmini-${{ needs.create_release.outputs.version }}-ubuntu20.04_x86_64.tar.gz --clobber |
| 548 | + mv plugin_wasmedge_opencvmini.tar.gz WasmEdge-plugin-wasmedge_opencvmini-${{ needs.create_release.outputs.version }}-darwin_${{ matrix.arch }}.tar.gz |
| 549 | + gh release upload ${{ needs.create_release.outputs.version }} WasmEdge-plugin-wasmedge_opencvmini-${{ needs.create_release.outputs.version }}-darwin_${{ matrix.arch }}.tar.gz --clobber |
546 | 550 |
|
547 | 551 | build_manylinux2014_runtime_only: |
548 | 552 | name: Build runtime only on manylinux2014 platform |
|
0 commit comments