Skip to content

Commit

Permalink
Fix build on arm
Browse files Browse the repository at this point in the history
  • Loading branch information
m3nu committed Oct 18, 2024
1 parent cf4370a commit bccd4b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/scripts/generate-matrix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ branch_name="$2"

if [[ "$event_name" == "workflow_dispatch" ]] || [[ "$branch_name" == "master" ]]; then
echo '{
"python-version": ["3.9", "3.10", "3.11"],
"python-version": ["3.9", "3.10", "3.11", "3.12"],
"os": ["ubuntu-22.04", "macos-14"],
"borg-version": ["1.4.0"]
}' | jq -c . > matrix-unit.json

echo '{
"python-version": ["3.9", "3.10", "3.11"],
"os": ["ubuntu-22.04", "macos-14"],
"python-version": ["3.11"],
"os": ["ubuntu-22.04"],
"borg-version": ["1.1.18", "1.2.8", "1.4.0", "2.0.0b12"],
"exclude": [{"borg-version": "2.0.0b12", "python-version": "3.8"}]
}' | jq -c . > matrix-integration.json

elif [[ "$event_name" == "push" ]] || [[ "$event_name" == "pull_request" ]]; then
echo '{
"python-version": ["3.9", "3.11"],
"python-version": ["3.9", "3.12"],
"os": ["ubuntu-22.04", "macos-14"],
"borg-version": ["1.2.8"]
}' | jq -c . > matrix-unit.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Package with PyInstaller
run: |
pyinstaller --clean --noconfirm package/vorta.spec
cp -R /usr/local/Caskroom/sparkle/*/Sparkle.framework dist/Vorta.app/Contents/Frameworks/
cp -R /opt/homebrew/Caskroom/sparkle/*/Sparkle.framework dist/Vorta.app/Contents/Frameworks/
curl -LJO https://github.com/borgbackup/borg/releases/download/${{ github.event.inputs.borg_version }}/borg-macos1012.tgz
tar xvf borg-macos1012.tgz -C dist/Vorta.app/Contents/Resources/
cd dist && zip -rq --symlinks Vorta.zip Vorta.app
Expand Down

0 comments on commit bccd4b0

Please sign in to comment.