From f56384616042f072bd0d686bbb017bb11903246a Mon Sep 17 00:00:00 2001 From: Hao Zhang Date: Wed, 4 Sep 2024 17:27:03 +0800 Subject: [PATCH] [force ci] Test build pyodide. --- .github/workflows/build.yml | 106 +++--------------------------------- 1 file changed, 7 insertions(+), 99 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe59c5fb6..edfe9797e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -118,9 +118,13 @@ jobs: matrix: include: - python: "3.11" - pyodide: "0.25.0" + pyodide: "0.25.1" - python: "3.12" - pyodide: "0.26.0a2" + pyodide: "0.26.2" + - python: "3.12" + pyodide: "0.27.3" + - python: "3.12" + pyodide: "0.28.0" steps: - name: checkout uses: actions/checkout@v3 @@ -147,10 +151,9 @@ jobs: run: | source emsdk/emsdk_env.sh cd PyTAT - export SKBUILD_CMAKE_DEFINE=TAT_MATH_LIBRARIES=$PWD/.pyodide-xbuildenv/xbuildenv/pyodide-root/packages/.libs/lib/libopenblas.so + export SKBUILD_CMAKE_DEFINE=TAT_MATH_LIBRARIES=;PYBIND11_FINDPYTHON=ON export CMAKE_BUILD_PARALLEL_LEVEL=4 pyodide build --exports pyinit - # pyodide auditwheel repair dist/*.whl --libdir .pyodide-xbuildenv/xbuildenv/pyodide-root/packages/.libs/lib - name: test run: | cd PyTAT @@ -171,105 +174,10 @@ jobs: fail-fast: false matrix: include: - # Always support manylinux platform - - os: ubuntu-latest - python: 38 - platform_id: manylinux_x86_64 - - os: ubuntu-latest - python: 39 - platform_id: manylinux_x86_64 - - os: ubuntu-latest - python: 310 - platform_id: manylinux_x86_64 - - os: ubuntu-latest - python: 311 - platform_id: manylinux_x86_64 - os: ubuntu-latest python: 312 platform_id: manylinux_x86_64 - - os: ubuntu-latest - python: 38 - platform_id: manylinux_aarch64 - - os: ubuntu-latest - python: 39 - platform_id: manylinux_aarch64 - - os: ubuntu-latest - python: 310 - platform_id: manylinux_aarch64 - - os: ubuntu-latest - python: 311 - platform_id: manylinux_aarch64 - - os: ubuntu-latest - python: 312 - platform_id: manylinux_aarch64 - - # Always support musllinux platform - - os: ubuntu-latest - python: 38 - platform_id: musllinux_x86_64 - - os: ubuntu-latest - python: 39 - platform_id: musllinux_x86_64 - - os: ubuntu-latest - python: 310 - platform_id: musllinux_x86_64 - - os: ubuntu-latest - python: 311 - platform_id: musllinux_x86_64 - - os: ubuntu-latest - python: 312 - platform_id: musllinux_x86_64 - - - os: ubuntu-latest - python: 38 - platform_id: musllinux_aarch64 - - os: ubuntu-latest - python: 39 - platform_id: musllinux_aarch64 - - os: ubuntu-latest - python: 310 - platform_id: musllinux_aarch64 - - os: ubuntu-latest - python: 311 - platform_id: musllinux_aarch64 - - os: ubuntu-latest - python: 312 - platform_id: musllinux_aarch64 - - # Only support the latest two version for macos platform - - os: macos-latest - python: 311 - platform_id: macosx_x86_64 - mac_arch: x86_64 - - os: macos-latest - python: 312 - platform_id: macosx_x86_64 - mac_arch: x86_64 - - - os: macos-latest - python: 311 - platform_id: macosx_arm64 - mac_arch: arm64 - - os: macos-latest - python: 312 - platform_id: macosx_arm64 - mac_arch: arm64 - - # Only support latest four version for windows platform - - os: windows-latest - python: 39 - platform_id: win_amd64 - - os: windows-latest - python: 310 - platform_id: win_amd64 - - os: windows-latest - python: 311 - platform_id: win_amd64 - - os: windows-latest - python: 312 - platform_id: win_amd64 - steps: - name: checkout uses: actions/checkout@v3