Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #202 from radarhere/python38_untar
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored May 29, 2021
2 parents 6773a6a + 34b2e34 commit 9120443
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:
# os-name: "osx"
# platform: "arm64"
# python: "3.9"
# macos-target: "11.0"
# - os: "macos-11.0"
# os-name: "osx"
# platform: "arm64"
# python: "3.8"
# macos-target: "11.0"
env:
BUILD_COMMIT: HEAD
Expand Down Expand Up @@ -77,11 +82,17 @@ jobs:
os-name: "osx"
- os: "ubuntu-20.04"
os-name: "focal"
- os: "macos-11.0"
os-name: "osx"
platform: "arm64"
python: "3.9"
macos-target: "11.0"
# Disable whilst not available
# - os: "macos-11.0"
# os-name: "osx"
# platform: "arm64"
# python: "3.9"
# macos-target: "11.0"
# - os: "macos-11.0"
# os-name: "osx"
# platform: "arm64"
# python: "3.8"
# macos-target: "11.0"
env:
BUILD_COMMIT: master
PLAT: ${{ matrix.platform }}
Expand Down
9 changes: 8 additions & 1 deletion config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ function untar {
gz|tgz) tar -zxf $in_fname ;;
bz2) tar -jxf $in_fname ;;
zip) unzip -qq $in_fname ;;
xz) unxz -c $in_fname | tar -xf - ;;
xz) if [ -n "$IS_MACOS" ]; then
tar -xf $in_fname
else
if [[ ! $(type -P "unxz") ]]; then
echo xz must be installed to uncompress file; exit 1
fi
unxz -c $in_fname | tar -xf -
fi ;;
*) echo Did not recognize extension $extension; exit 1 ;;
esac
}
Expand Down

0 comments on commit 9120443

Please sign in to comment.