Changes needed to get EEG-ExPy building and running on Apple Silicon chips #626
This file contains 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: Docs | |
on: | |
push: | |
branches: [ master, develop, 'dev/*' ] | |
pull_request: | |
branches: [ master, develop ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
make install-deps-apt | |
python -m pip install --upgrade pip wheel | |
python -m pip install attrdict | |
make install-deps-wxpython | |
- name: Build project | |
run: | | |
make install-docs-build-dependencies | |
- name: Build docs | |
run: | | |
make docs | |
- name: Deploy Docs | |
uses: peaceiris/actions-gh-pages@v3 | |
if: github.ref == 'refs/heads/master' # TODO: Deploy seperate develop-version of docs? | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: doc/_build/html | |
- name: Deploy Dev Docs | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: doc/_build/html | |
destination_dir: develop |