-
Notifications
You must be signed in to change notification settings - Fork 41
94 lines (92 loc) · 2.92 KB
/
configuration-artifacts.yml
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
name: Configuration Artifacts
on: [push, pull_request]
jobs:
configuration-artifacts:
name: ${{ matrix.os }} - Python ${{ matrix.python-version }}
strategy:
matrix:
os: [ubuntu-20.04]
python-version: [3.11]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Environment Variables
run: |
echo "CI_PYTHON_VERSION=${{ matrix.python-version }}" >> $GITHUB_ENV
echo "CI_PACKAGE=opencolorio_config_aces" >> $GITHUB_ENV
echo "CI_SHA=${{ github.sha }}" >> $GITHUB_ENV
shell: bash
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
sudo apt-get --yes install graphviz graphviz-dev
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | POETRY_HOME=$HOME/.poetry python3 -
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
shell: bash
- name: Install Package Dependencies
run: |
poetry run python -m pip install --upgrade pip
poetry install
shell: bash
- name: ACES - Conversion Graph
run: |
poetry run invoke build-aces-conversion-graph
shell: bash
- uses: actions/upload-artifact@v4
with:
name: aces-conversion-graph
path: |
build/aces/graph/
- name: Generation - Config - Common Tests
run: |
poetry run invoke build-config-common-tests
shell: bash
- uses: actions/upload-artifact@v4
with:
name: config-common-tests
path: |
build/config/common/tests/
- name: Generation - Config - ACES Reference (Analytical)
run: |
poetry run invoke build-config-reference-analytical
shell: bash
- uses: actions/upload-artifact@v4
with:
name: config-reference-analytical
path: |
build/config/aces/analytical/
- name: Generation - Config - ACES Reference
run: |
poetry run invoke build-config-reference
shell: bash
- uses: actions/upload-artifact@v4
with:
name: config-reference
path: |
build/config/aces/reference/
- name: Generation - Config - ACES CG
run: |
poetry run invoke build-config-cg
shell: bash
- uses: actions/upload-artifact@v4
with:
name: config-cg
path: |
build/config/aces/cg/
- name: Generation - Config - ACES Studio
run: |
poetry run invoke build-config-studio
shell: bash
- uses: actions/upload-artifact@v4
with:
name: config-studio
path: |
build/config/aces/studio/