ci: release support macos arm64: add brew path for zbarlib
This commit is contained in:
2
.github/workflows/ci_release.yml
vendored
2
.github/workflows/ci_release.yml
vendored
@@ -282,6 +282,7 @@ jobs:
|
|||||||
run: ls "$($Env:WinDir)\system32"
|
run: ls "$($Env:WinDir)\system32"
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set macos macos_python_path
|
- name: Set macos macos_python_path
|
||||||
|
if: runner.os == 'macOS'
|
||||||
# TODO use variable for Python version
|
# TODO use variable for Python version
|
||||||
run: echo "macos_python_path=/Library/Frameworks/Python.framework/Versions/3.12" >> $GITHUB_ENV
|
run: echo "macos_python_path=/Library/Frameworks/Python.framework/Versions/3.12" >> $GITHUB_ENV
|
||||||
- name: Set up Python 3.12
|
- name: Set up Python 3.12
|
||||||
@@ -296,6 +297,7 @@ jobs:
|
|||||||
- name: Install zbar shared lib for QReader (macOS)
|
- name: Install zbar shared lib for QReader (macOS)
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
|
export DYLD_LIBRARY_PATH="$(brew --prefix)/lib:$DYLD_LIBRARY_PATH"
|
||||||
brew install zbar create-dmg
|
brew install zbar create-dmg
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
# TODO fix --use-pep517
|
# TODO fix --use-pep517
|
||||||
|
|||||||
Reference in New Issue
Block a user