Skip to content

Commit

Permalink
Add manual modification in aarch64 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Merricx committed Nov 17, 2024
1 parent 1533529 commit 252b437
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.x"
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -64,10 +64,17 @@ jobs:
arch: ${{ matrix.platform.target }}
distro: ubuntu20.04
githubToken: ${{ github.token }}
# Copied from https://github.com/codecov/codecov-rs/blob/main/.github/workflows/publish.yml
install: |
apt-get update
apt-get install -y --no-install-recommends python3 python3-pip
pip3 install -U pip pytest pylint
apt-get install -y gnupg ca-certificates
echo "deb https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy main" >> /etc/apt/sources.list.d/deadsnakes.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F23C5A6CF475977595C89F51BA6932366A755776
apt-get update
apt-get install -y --no-install-recommends python3.12 python3.12-venv python3-pip
python3.12 -m venv /venv
source /venv/bin/activate
pip install -U pip pytest pylint
run: |
set -e
pip3 install zksnake --find-links dist --force-reinstall
Expand All @@ -87,7 +94,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.x"
architecture: ${{ matrix.platform.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
Expand Down Expand Up @@ -123,7 +130,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.x"
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down

0 comments on commit 252b437

Please sign in to comment.