Skip to content

Commit

Permalink
Build Linux ARM wheels for Python 3.8 and 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
reuben committed Feb 28, 2022
1 parent 46b230b commit 2d165fd
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 95 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 2d165fd

Please sign in to comment.