mirror of https://github.com/KLayout/klayout.git
adding arm linux to os matrix
This commit is contained in:
parent
61a51e8722
commit
6ee824cb3c
|
|
@ -34,6 +34,10 @@ jobs:
|
||||||
- os: "ubuntu-latest"
|
- os: "ubuntu-latest"
|
||||||
cibuild: "*musllinux*"
|
cibuild: "*musllinux*"
|
||||||
cibw_arch: "musllinux"
|
cibw_arch: "musllinux"
|
||||||
|
- os: "ubuntu-24.04-arm" # aarch64 manylinux on ARM runner
|
||||||
|
cibuild: "*manylinux*"
|
||||||
|
cibw_arch: "manylinux"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Free Disk Space (Ubuntu)
|
- name: Free Disk Space (Ubuntu)
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
|
|
@ -90,43 +94,43 @@ jobs:
|
||||||
name: Make SDist
|
name: Make SDist
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build SDist
|
- name: Build SDist
|
||||||
run: pipx run build --sdist
|
run: pipx run build --sdist
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: artifact-sdist
|
name: artifact-sdist
|
||||||
path: dist/*.tar.gz
|
path: dist/*.tar.gz
|
||||||
|
|
||||||
upload_to_test_pypy:
|
upload_to_test_pypy:
|
||||||
needs: [build, make_sdist]
|
needs: [build, make_sdist]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
- uses: pypa/gh-action-pypi-publish@v1.12.4
|
- uses: pypa/gh-action-pypi-publish@v1.12.4
|
||||||
continue-on-error: true # might fail if we don't bump the version
|
continue-on-error: true # might fail if we don't bump the version
|
||||||
with:
|
with:
|
||||||
user: __token__
|
user: __token__
|
||||||
password: ${{ secrets.test_pypi_password }}
|
password: ${{ secrets.test_pypi_password }}
|
||||||
repository-url: https://test.pypi.org/legacy/
|
repository-url: https://test.pypi.org/legacy/
|
||||||
|
|
||||||
upload_to_pypi:
|
upload_to_pypi:
|
||||||
needs: [build, make_sdist]
|
needs: [build, make_sdist]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name == 'release' && github.event.action == 'published'
|
if: github.event_name == 'release' && github.event.action == 'published'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
- uses: pypa/gh-action-pypi-publish@v1.12.4
|
- uses: pypa/gh-action-pypi-publish@v1.12.4
|
||||||
with:
|
with:
|
||||||
user: __token__
|
user: __token__
|
||||||
password: ${{ secrets.pypi_password }}
|
password: ${{ secrets.pypi_password }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue