Add macOS compatibility test workflow #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: macOS Compatibility Test | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| macos-test: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Homebrew packages | |
| run: | | |
| brew update | |
| brew install python3 libfido2 gtk+3 pygobject3 | |
| - name: Verify Python version | |
| run: python3 --version | |
| - name: Run FIDO2-Key-Manager (import test) | |
| run: | | |
| python3 - << 'EOF' | |
| import gi | |
| gi.require_version("Gtk", "3.0") | |
| from gi.repository import Gtk | |
| print("GTK import OK") | |
| import fido2 | |
| print("python-fido2 import OK") | |
| import fido2_gui | |
| print("GUI module loaded successfully") | |
| EOF |