Skip to content

Commit

Permalink
[force ci] Test build pyodide.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzhangxyz committed Sep 5, 2024
1 parent b3a11f6 commit f563846
Showing 1 changed file with 7 additions and 99 deletions.
106 changes: 7 additions & 99 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f563846

Please sign in to comment.