Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: try to fix tests on macos-arm64 #849

Merged
merged 8 commits into from
Jun 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ jobs:
run: |
brew install mpv

- name: Setup DYLD path for macos-arm64
if: matrix.os == 'macos-latest'
run: |
# Python can't find libmpv on macOS arm64 by default.
# This problem does not exist on macOS with x86_64.
echo "DYLD_FALLBACK_LIBRARY_PATH=/opt/homebrew/lib" >> $GITHUB_ENV
echo "DYLD_FALLBACK_FRAMEWORK_PATH=/opt/homebrew/Frameworks" >> $GITHUB_ENV

- name: Install Windows Dependencies
if: startsWith(matrix.os, 'windows')
run: |
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/macos-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ jobs:
- name: Install libmpv
run: |
brew install mpv
- name: Setup DYLD path for macos-arm64
if: matrix.os == 'macos-latest'
run: |
# Python can't find libmpv on macOS arm64 by default.
# This problem does not exist on macOS with x86_64.
echo "DYLD_FALLBACK_LIBRARY_PATH=/opt/homebrew/lib" >> $GITHUB_ENV
echo "DYLD_FALLBACK_FRAMEWORK_PATH=/opt/homebrew/Frameworks" >> $GITHUB_ENV
- name: Test if no syntax error
run: feeluown -h
- name: Bundle
Expand Down
Loading