Skip to content

Commit

Permalink
Build Linux ARM wheels for Python 3.7 and 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
reuben authored and mariano-balto committed Aug 4, 2022
1 parent 0652121 commit d0706c4
Show file tree
Hide file tree
Showing 7 changed files with 214 additions and 52 deletions.
14 changes: 6 additions & 8 deletions .github/actions/multistrap/action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "multistrap install"
description: "Install a system root using multistrap"
inputs:
arch:
description: "Target arch"
multistrap-config:
description: "Multistrap config file to use"
required: true
packages:
description: "Extra packages to install"
Expand All @@ -20,13 +20,11 @@ runs:
run: |
set -xe
multistrap_conf=""
if [ "${{ inputs.arch }}" = "armv7" ]; then
multistrap_conf=multistrap_raspbian_buster.conf
multistrap_conf="${{ inputs.multistrap-config }}"
if [ "$multistrap_conf" = "multistrap_raspbian_buster.conf" ]; then
wget http://archive.raspbian.org/raspbian/pool/main/r/raspbian-archive-keyring/raspbian-archive-keyring_20120528.2_all.deb && sudo dpkg -i raspbian-archive-keyring_20120528.2_all.deb
elif [ "$multistrap_conf" = "multistrap_raspbian_bullseye.conf" ]; then
wget http://archive.raspbian.org/raspbian/pool/main/r/raspbian-archive-keyring/raspbian-archive-keyring_20120528.2_all.deb && sudo dpkg -i raspbian-archive-keyring_20120528.2_all.deb
fi
if [ "${{ inputs.arch }}" = "aarch64" ]; then
multistrap_conf=multistrap_armbian64_buster.conf
fi
# Retry 2 times because Rasbian mirrors are often failing
Expand Down
Loading

0 comments on commit d0706c4

Please sign in to comment.