Skip to content

Commit

Permalink
Remove cross testing for now
Browse files Browse the repository at this point in the history
  • Loading branch information
milesgranger committed Dec 12, 2024
1 parent b49d37c commit df57f00
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,35 +210,35 @@ jobs:
--rm python:${{ matrix.python-version }}-alpine sh \
-c "pip install cramjam --no-index --find-links /wheels && python -c 'import cramjam'"
- name: Install built wheel and Test (Cross)
continue-on-error: true
if: |
!startsWith(matrix.conf.manylinux, 'musl') &&
runner.os == 'Linux' &&
contains(fromJson('["3.9", "3.11", "3.13"]'), matrix.python-version ) &&
!startsWith(matrix.python-version, 'pypy') &&
contains(fromJson('["armv6", "armv7", "aarch64", "riscv64", "s390x", "ppc64le"]'), matrix.conf.target)
uses: uraimo/run-on-arch-action@v2
with:
arch: ${{ matrix.conf.target }}
distro: ubuntu22.04
githubToken: ${{ github.token }}
# Mount the dist directory as /artifacts in the container
dockerRunArgs: |
--volume "${PWD}/dist:/artifacts"
install: |
apt-get update
apt-get install -y --no-install-recommends python3 python3-venv software-properties-common
add-apt-repository ppa:deadsnakes/ppa
apt-get update
apt-get install -y curl python${{ matrix.python-version }}-venv
run: |
ls -lrth /artifacts
PYTHON=python${{ matrix.python-version }}
$PYTHON -m venv venv
venv/bin/pip install -U pip
venv/bin/pip install cramjam --pre --no-index --find-links /artifacts --force-reinstall
venv/bin/python -c 'import cramjam'
# xref: https://github.com/milesgranger/cramjam/issues/194
# - name: Install built wheel and Test (Cross)
# if: |
# !startsWith(matrix.conf.manylinux, 'musl') &&
# runner.os == 'Linux' &&
# contains(fromJson('["3.9", "3.11", "3.13"]'), matrix.python-version ) &&
# !startsWith(matrix.python-version, 'pypy') &&
# contains(fromJson('["armv6", "armv7", "aarch64", "riscv64", "s390x", "ppc64le"]'), matrix.conf.target)
# uses: uraimo/run-on-arch-action@v2
# with:
# arch: ${{ matrix.conf.target }}
# distro: ubuntu22.04
# githubToken: ${{ github.token }}
# # Mount the dist directory as /artifacts in the container
# dockerRunArgs: |
# --volume "${PWD}/dist:/artifacts"
# install: |
# apt-get update
# apt-get install -y --no-install-recommends python3 python3-venv software-properties-common
# add-apt-repository ppa:deadsnakes/ppa
# apt-get update
# apt-get install -y curl python${{ matrix.python-version }}-venv
# run: |
# ls -lrth /artifacts
# PYTHON=python${{ matrix.python-version }}
# $PYTHON -m venv venv
# venv/bin/pip install -U pip
# venv/bin/pip install cramjam --pre --no-index --find-links /artifacts --force-reinstall
# venv/bin/python -c 'import cramjam'

- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit df57f00

Please sign in to comment.