forked from AcademySoftwareFoundation/rez
-
Notifications
You must be signed in to change notification settings - Fork 0
76 lines (64 loc) · 1.57 KB
/
ubuntu.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: ubuntu
on:
pull_request:
paths-ignore:
- '.github/docker/**'
- '.github/workflows/windows-docker-image.yaml'
- 'src/rez/utils/_version.py'
- 'wiki/**'
- 'metrics/**'
- '**.md'
push:
paths-ignore:
- '.github/docker/**'
- '.github/workflows/windows-docker-image.yaml'
- 'src/rez/utils/_version.py'
- 'wiki/**'
- 'metrics/**'
- '**.md'
jobs:
main:
name: main
runs-on: ubuntu-${{ matrix.os-version }}
strategy:
matrix:
os-version:
- '16.04'
- '18.04'
python-version:
- '2.7'
- '3.6'
- '3.7'
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Verify cmake
run: |
cmake --version
- name: Verify pwsh
run: |
pwsh --version
- name: Install csh
run: |
sudo apt-get install -y csh
- name: Install tcsh
run: |
sudo apt-get install -y tcsh
- name: Install zsh
run: |
sudo apt-get install -y zsh
- name: Install Rez
run: |
mkdir ./build
python ./install.py ./build
- name: Install Rez test dependencies
run: |
./build/bin/rez/rez-python -m pip install pytest-cov
- name: Run Rez Tests
run: |
./build/bin/rez/rez-selftest