Merge pull request #581 from jschueller/unity2 #205
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: GitHub CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
osx: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: bash tools/gha_osx.sh | |
windows-2019: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: 3.8 | |
channels: conda-forge | |
channel-priority: strict | |
- name: Build | |
run: .\tools\gha_windows-2019.ps1 | |
shell: powershell | |
build-and-deploydocs: | |
if: ${{ github.event_name }} == 'push' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install and Build 🔧 | |
run: bash tools/gha_deploydocs.sh | |
- name: Upload to github pages 🚀 | |
if: ${{ github.event_name == 'push' }} | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: doc/sphinx/_build/html # The folder the action should deploy. |