add T2 Chip Check to judge whether modern Audio can be used #239
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: CI - Validation | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'docs/**' | |
| workflow_dispatch: | |
| release: | |
| types: [published] | |
| jobs: | |
| build: | |
| name: Validate | |
| runs-on: macOS-26 | |
| if: github.repository_owner == 'hackdoc' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Validate | |
| run: | | |
| /Library/Frameworks/Python.framework/Versions/3.12/bin/python3 -m pip install --upgrade pip | |
| /Library/Frameworks/Python.framework/Versions/3.12/bin/python3 -m pip install -r requirements.txt | |
| /Library/Frameworks/Python.framework/Versions/3.12/bin/python3 -m pip install packaging | |
| /Library/Frameworks/Python.framework/Versions/3.12/bin/python3 OCLP-R-GUI.command --validate |