Skip to content

Commit

Permalink
Initial multi-platform install CI
Browse files Browse the repository at this point in the history
  • Loading branch information
j0yu committed Jul 14, 2020
1 parent 3b6106a commit a39eeb0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,38 @@ name: Installation
on: [push]

jobs:
os-vm:
name: ${{ matrix.python-version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
python-version:
- '2.7'
# - '3.6'
# - '3.7'
os:
- windows
- macos
include:
- os: windows
method: 'python .\install.py "C:\Program Files\rez"'
check-parent: 'dir "C:\Program Files"'
- os: macos
method: 'sudo python ./install.py /Applications/Utilities/rez'
check-parent: 'ls -lah /Applications/Utilities'

steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- run: ${{ matrix.check-parent }}
- run: ${{ matrix.method }}

linux-vm:
name: ${{ matrix.python-version }} - ${{ matrix.method }}
runs-on: ubuntu-latest
needs: os-vm # Disable while we test above
strategy:
matrix:
python-version:
Expand Down

0 comments on commit a39eeb0

Please sign in to comment.