yet another change #9
Workflow file for this run
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: Build pyrfr macOS binaries | |
| on: | |
| push: | |
| branches: [ python3.10 ] | |
| pull_request: | |
| jobs: | |
| build-macos: | |
| runs-on: macos-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10"] | |
| steps: | |
| # Step 1: Checkout code | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| # Step 2: Setup Python | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| # Step 3: Install system dependencies | |
| - name: Install system dependencies | |
| run: | | |
| brew update | |
| brew install cmake boost | |
| # Step 4: Install Python build tools | |
| - name: Install Python build tools | |
| run: | | |
| python -m pip install --upgrade pip wheel setuptools cython | |
| # Step 5: Download pyrfr source distribution from PyPI | |
| - name: Download pyrfr source | |
| run: | | |
| mkdir pyrfr_src | |
| pip download pyrfr==0.9.0 --no-binary :all: -d pyrfr_src | |
| cd pyrfr_src/pyrfr-0.9.0 | |
| python -m pip wheel . -w ../../wheelhouse | |
| # Step 6: Build your DeepCAVE wheel | |
| - name: Build DeepCAVE wheel | |
| run: | | |
| cd $GITHUB_WORKSPACE | |
| python -m pip wheel . -w wheelhouse --no-deps | |
| # Step 7: Upload built wheels | |
| - name: Upload wheels | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: built-wheels | |
| path: wheelhouse/*.whl |