Skip to content

Commit 067c8a0

Browse files
committed
Merge remote-tracking branch 'upstream/main' into _imgui
2 parents f6c2ec2 + 4e91729 commit 067c8a0

28 files changed

+824
-357
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ instructions!
3030
<!-- Put an 'x' in the boxes as you complete the checklist items -->
3131

3232
- [ ] **I have read the guidelines** on [contributions](https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/main/CONTRIBUTING.md) and [code review procedures](https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/main/docs/dev/CodeReview.md).
33+
- [ ] **I have read the [Policy on AI Coding Assistants](https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/main/docs/dev/AI_Policy.md)**
34+
and if I used AI coding assistants, I have an `Assisted-by: TOOL / MODEL`
35+
line in the pull request description above.
3336
- [ ] **I have updated the documentation** if my PR adds features or changes
3437
behavior.
35-
- [ ] **I am sure that this PR's changes are tested somewhere in the
36-
testsuite**.
38+
- [ ] **I am sure that this PR's changes are tested in the testsuite**.
3739
- [ ] **I have run and passed the testsuite in CI** *before* submitting the
3840
PR, by pushing the changes to my fork and seeing that the automated CI
3941
passed there. (Exceptions: If most tests pass and you can't figure out why

.github/workflows/build-steps.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,18 @@ on:
3737
type: string
3838
fmt_commit:
3939
type: string
40+
gcc_action_ver:
41+
type: string
42+
llvm_action_ver:
43+
type: string
4044
opencolorio_ver:
4145
type: string
4246
openexr_ver:
4347
type: string
4448
pybind11_ver:
4549
type: string
50+
python_action_ver:
51+
type: string
4652
python_ver:
4753
type: string
4854
setenvs:
@@ -80,6 +86,8 @@ on:
8086
type: string
8187
optional_deps:
8288
type: string
89+
build_local_deps:
90+
type: string
8391
secrets:
8492
PASSED_GITHUB_TOKEN:
8593
required: false
@@ -125,6 +133,7 @@ jobs:
125133
# against and testing an optional dependency, but in fact are not.
126134
OpenImageIO_REQUIRED_DEPS: ${{inputs.required_deps}}
127135
OpenImageIO_OPTIONAL_DEPS: ${{inputs.optional_deps}}
136+
OpenImageIO_BUILD_LOCAL_DEPS: ${{inputs.build_local_deps}}
128137
SETENVS: ${{inputs.setenvs}}
129138
DEPCMDS: ${{inputs.depcmds}}
130139

@@ -167,6 +176,22 @@ jobs:
167176
# path: ./ccache
168177
key: ${{inputs.nametag}}-${{steps.ccache_cache_keys.outputs.date}}
169178
restore-keys: ${{inputs.nametag}}
179+
- name: Install gcc
180+
if: inputs.gcc_action_ver != ''
181+
run: |
182+
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
183+
sudo apt-get update -y
184+
sudo apt-get install -y g++-${{inputs.gcc_action_ver}}
185+
- name: Install python
186+
if: inputs.python_action_ver != ''
187+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
188+
with:
189+
python-version: ${{ inputs.python_action_ver }}
190+
- name: Install LLVM and Clang
191+
if: inputs.llvm_action_ver != ''
192+
uses: KyleMayes/install-llvm-action@ebc0426251bc40c7cd31162802432c68818ab8f0 # v2.0.9
193+
with:
194+
version: ${{ inputs.llvm_action_ver }}
170195
- name: Dependencies
171196
shell: bash
172197
run: |

0 commit comments

Comments
 (0)