2929
3030 strategy:
3131 matrix:
32- os: [ubuntu-latest, macos-latest, windows-latest]
32+ os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
3333
3434 steps:
3535 - name: Checkout
@@ -79,29 +79,35 @@ jobs:
7979 with:
8080 token: {% raw %} ${{ secrets.CODECOV_TOKEN }}{% endraw %}
8181
82- - name: Set up QEMU
83- uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
84- with:
85- platforms: all
86- if: runner.os == 'Linux' && runner.arch == 'X64'
87-
8882 - name: Free disk space
8983 run: |
9084 sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc /usr/local/.ghcup /usr/share/swift
9185 df -h /
9286 shell: bash
93- if: matrix .os == 'ubuntu-latest '
87+ if: runner .os == 'Linux '
9488
95- - name: Build distributions (Linux)
89+ - name: Build distributions (Linux x86_64 )
9690 run: |
9791 rm -rf dist
9892 make dist-rs
9993 make dist-py-sdist
10094 make dist-py-wheel
10195 make dist-check
10296 shell: bash
97+ env:
98+ CIBW_ARCHS_LINUX: native
10399 if: matrix.os == 'ubuntu-latest'
104100
101+ - name: Build distributions (Linux ARM64)
102+ run: |
103+ rm -rf dist
104+ make dist-py-wheel
105+ make dist-check
106+ shell: bash
107+ env:
108+ CIBW_ARCHS_LINUX: native
109+ if: matrix.os == 'ubuntu-24.04-arm'
110+
105111 - name: Build distributions (macOS/Windows)
106112 run: |
107113 rm -rf dist
@@ -110,13 +116,13 @@ jobs:
110116 shell: bash
111117 env:
112118 CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.0
113- if: matrix .os != 'ubuntu-latest '
119+ if: runner .os != 'Linux '
114120
115121 - name: Test wheel
116122 uses: actions-ext/python/test-wheel@6e1b91a408ea89f49bc8aff8724f83826f7b5446
117123 with:
118124 module: {{module}}
119- if: matrix .os == 'ubuntu-latest '
125+ if: runner .os == 'Linux '
120126
121127 - name: Test source distribution
122128 uses: actions-ext/python/test-sdist@6e1b91a408ea89f49bc8aff8724f83826f7b5446
0 commit comments