Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
30d9f6a
Initial commit of VFX 2025 support
jfpanisset Oct 14, 2024
8fd1d2f
Test fixes
jfpanisset Oct 14, 2024
48a0c15
More Conan 2 conversions
jfpanisset Nov 20, 2024
c1134b1
python Conan package is now cpython
jfpanisset Nov 24, 2024
9266b37
Adjust disk space cleanup
jfpanisset Nov 24, 2024
0aef591
Remove cached Docker images as well
jfpanisset Nov 24, 2024
3e53174
Fix disk cleanup
jfpanisset Nov 24, 2024
7840b98
More disk space fix
jfpanisset Nov 24, 2024
30ebc12
Build 2024.2 with Conan 2.9.2
jfpanisset Nov 24, 2024
2a34f9e
Fix SonarScanner download URL
jfpanisset Nov 24, 2024
cafb88c
More Sonar Scanner fixes
jfpanisset Nov 25, 2024
942a6a7
Python Conan package now builds
jfpanisset Dec 2, 2024
64ba19f
base1 Conan packages now all build
jfpanisset Dec 3, 2024
d5dbc7e
More Conan packages ported to Conan 2
jfpanisset Dec 8, 2024
4fc0678
Qt port to Conan 2
jfpanisset Dec 9, 2024
bc3e14a
OCIO 2.4.1 buildkit logs disk space pruning
jfpanisset Dec 14, 2024
d051f7d
Workflow typo
jfpanisset Dec 14, 2024
ef27346
More disk cleanup
jfpanisset Dec 14, 2024
9c619f9
imagemagick cleanup typo
jfpanisset Dec 14, 2024
235ae90
More disk cleanups
jfpanisset Dec 14, 2024
f312e6d
Remove all installed packages in one step
jfpanisset Dec 14, 2024
e74b4f9
Getting closer to a complete Qt build
jfpanisset Dec 19, 2024
299fff1
More Qt work
jfpanisset Dec 27, 2024
2d631aa
Rename wrapper version to system and Qt build fixes
jfpanisset Dec 30, 2024
107a53f
Update to Qt 6.5.4
jfpanisset Jan 31, 2025
454ad16
PySide 6.5.4 Conan 2 Package
jfpanisset Mar 25, 2025
ca52c77
Getting closer to building OIIO
jfpanisset Mar 27, 2025
f5d616b
All packages now build
jfpanisset Apr 8, 2025
86c4185
Update GitHub Actions to build wrappers
jfpanisset Apr 8, 2025
ff15988
Update README and generated CMake fix
jfpanisset Apr 8, 2025
514ea3c
Outside Conan build fixes
jfpanisset Apr 20, 2025
f89b51f
Build base1-wrapper and base1-1 Conan packages together
jfpanisset Apr 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
187 changes: 149 additions & 38 deletions .github/workflows/docker-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
build:
runs-on: ${{ (github.repository_owner == 'AcademySoftwareFoundation' && 'ubuntu-20.04-8c-32g-300h') || 'ubuntu-latest' }}
runs-on: ${{ (github.repository_owner == 'AcademySoftwareFoundation' && 'ubuntu-22.04-8c-32g-300h') || 'ubuntu-latest' }}
env:
DOCKER_CLI_EXPERIMENTAL: enabled
DOCKER_BUILDKIT: '1'
Expand All @@ -24,22 +24,24 @@ jobs:
fail-fast: false
matrix:
include:
- group: vfx-2024
name: vfx-2024
common_version: 4-clang16
common_version_noclang: 4
version: 2024-clang16
version_noclang: 2024
- group: vfx-2025
name: vfx-2025
common_version: 5-clang18
common_version_noclang: 5
version: 2025-clang18
version_noclang: 2025
test: ""

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Activate Docker buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
with:
driver-opts: env.BUILDKIT_STEP_LOG_MAX_SIZE=10485760

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
with:
python-version: 3.9
cache: 'pipenv'
Expand All @@ -50,19 +52,29 @@ jobs:

- name: Free up disk space
run: |
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
sudo apt-get remove -y '^cpp.*'
sudo apt-get remove -y '^g\+\+.*'
sudo apt-get remove -y '^clang.*'
sudo apt-get remove -y '^gfortran.*'
sudo apt-get remove -y google-chrome-stable firefox powershell mono-devel monodoc-http
df -h
sudo apt-get remove -y '^llvm-.*' 'php.*' '^cpp.*' '^g\+\+.*' '^clang.*' '^gfortran.*' \
'^dotnet-.*' '^libmono-.*' '^mono-.*' monodoc-http '^r-.*' '^ruby.*' \
ant ant-optional aria2 azure-cli firefox google-chrome-stable microsoft-edge-stable powershell \
imagemagick '^imagemagick-.*' '^libmagickcore-.*' '^libmagickwand-.*' kubectl mercurial mercurial-common subversion
sudo apt-get autoremove -y
sudo apt-get clean
rm -rf /usr/share/dotnet/
sudo rm -rf \
/usr/share/dotnet/ \
/usr/local/lib/android \
/opt/ghc \
/usr/local/share/powershell \
/usr/share/swift \
/usr/local/.ghcup \
/usr/local/aws-cli \
/usr/local/aws-sam-cli \
/usr/local/julia* \
/usr/lib/jvm || true
sudo docker system prune -a
df -h
dpkg -l

- name: Build Ninja (Conan)
- name: Build Ninja and CMake (Conan)
run: |
set -ex
pipenv run aswfdocker \
Expand All @@ -76,7 +88,8 @@ jobs:
--version ${{ matrix.common_version }} \
--use-conan \
--build-missing \
--target ninja
--target ninja \
--target cmake

- name: Build Clang (Conan)
run: |
Expand All @@ -94,7 +107,7 @@ jobs:
--build-missing \
--target clang

- name: build ci-common Docker Image for downstream images
- name: Build ci-common Docker Image for downstream images
run: |
pipenv run aswfdocker \
--repo-uri $GITHUB_REPOSITORY \
Expand All @@ -106,7 +119,50 @@ jobs:
--version ${{ matrix.common_version }}\
--push NO

- name: Build base1 Conan packages for base image
- name: Build base1 system wrapper and level 1 Conan packages
run: |
set -ex
pipenv run aswfdocker \
--repo-uri $GITHUB_REPOSITORY \
--source-branch $GITHUB_REF \
--verbose \
build \
--ci-image-type PACKAGE \
--group base1-wrappers \
--group base1-1 \
--version ${{ matrix.version_noclang }} \
--use-conan \
--build-missing

- name: Build base1 level 2 Conan packages
run: |
set -ex
pipenv run aswfdocker \
--repo-uri $GITHUB_REPOSITORY \
--source-branch $GITHUB_REF \
--verbose \
build \
--ci-image-type PACKAGE \
--group base1-2 \
--version ${{ matrix.version_noclang }} \
--use-conan \
--build-missing

- name: Build base1 level 3 Conan packages
run: |
set -ex
pipenv run aswfdocker \
--repo-uri $GITHUB_REPOSITORY \
--source-branch $GITHUB_REF \
--verbose \
build \
--ci-image-type PACKAGE \
--group base1-3 \
--version ${{ matrix.version_noclang }} \
--use-conan \
--build-missing

- name: Build base2 system wrapper and dependency Conan packages for ci-baseqt image
run: |
set -ex
pipenv run aswfdocker \
Expand All @@ -115,12 +171,13 @@ jobs:
--verbose \
build \
--ci-image-type PACKAGE \
--group base1 \
--group base2-wrappers \
--group base2-1
--version ${{ matrix.version_noclang }} \
--use-conan \
--build-missing

- name: Build base2 Conan packages (Qt) for base image
- name: Build base2 level 2 Conan packages (Qt) for ci-baseqt image
run: |
set -ex
pipenv run aswfdocker \
Expand All @@ -129,7 +186,7 @@ jobs:
--verbose \
build \
--ci-image-type PACKAGE \
--group base2 \
--group base2-2 \
--version ${{ matrix.version_noclang }} \
--use-conan \
--build-missing
Expand All @@ -148,7 +205,7 @@ jobs:
--use-conan \
--build-missing

- name: Build base image
- name: Build base and baseqt images
run: |
set -ex
pipenv run aswfdocker \
Expand All @@ -161,57 +218,112 @@ jobs:
--version ${{ matrix.version }} \
--push NO

- run: |
- name: Build vfx1 system wrapper and level 1 Conan packages
run: |
set -ex
pipenv run aswfdocker \
--repo-uri $GITHUB_REPOSITORY \
--source-branch $GITHUB_REF \
--verbose \
build \
--ci-image-type PACKAGE \
--group vfx1 \
--target imath \
--group vfx1-wrappers \
--group vfx1-1 \
--version ${{ matrix.version_noclang }} \
--use-conan \
--build-missing \
--push NO

- name: Build vfx1 level 2 Conan packages
run: |
set -ex
pipenv run aswfdocker \
--repo-uri $GITHUB_REPOSITORY \
--source-branch $GITHUB_REF \
--verbose \
build \
--ci-image-type PACKAGE \
--group vfx1 \
--target openexr \
--group vfx1-2 \
--version ${{ matrix.version_noclang }} \
--use-conan \
--build-missing \
--push NO

- name: Build vfx1 level 3 Conan packages
run: |
set -ex
pipenv run aswfdocker \
--repo-uri $GITHUB_REPOSITORY \
--source-branch $GITHUB_REF \
--verbose \
build \
--ci-image-type PACKAGE \
--group vfx1 \
--group vfx2 \
--group vfx1-3 \
--version ${{ matrix.version_noclang }} \
--use-conan \
--build-missing \
--push NO

- name: Build vfx1 level 4 Conan packages
run: |
set -ex
pipenv run aswfdocker \
--repo-uri $GITHUB_REPOSITORY \
--source-branch $GITHUB_REF \
--verbose \
build \
--ci-image-type PACKAGE \
--group vfx1-4 \
--version ${{ matrix.version_noclang }} \
--use-conan \
--build-missing \
--push NO

- name: Build vfx1 level 5 non-Conan packages
run: |
set -ex
pipenv run aswfdocker \
--repo-uri $GITHUB_REPOSITORY \
--source-branch $GITHUB_REF \
--verbose \
build \
--ci-image-type PACKAGE \
--group vfx1 \
--version ${{ matrix.version_noclang }} \
--build-missing \
--push NO

- name: Build vfx2 level 1 Conan packages
run: |
set -ex
pipenv run aswfdocker \
--repo-uri $GITHUB_REPOSITORY \
--source-branch $GITHUB_REF \
--verbose \
build \
--ci-image-type PACKAGE \
--group vfx2-1 \
--version ${{ matrix.version_noclang }} \
--use-conan \
--build-missing \
--push NO

- name: Build vfx2 level 2 non-Conan packages
run: |
set -ex
pipenv run aswfdocker \
--repo-uri $GITHUB_REPOSITORY \
--source-branch $GITHUB_REF \
--verbose \
build \
--ci-image-type PACKAGE \
--group vfx2 \
--version ${{ matrix.version_noclang }} \
--build-missing \
--push NO
name: Build vfx1/vfx2 packages

- run: |
- name: Build vfx1 / vfx2 images
run: |
set -ex
pipenv run aswfdocker \
--repo-uri $GITHUB_REPOSITORY \
Expand All @@ -223,9 +335,9 @@ jobs:
--group vfx2 \
--version ${{ matrix.version_noclang }} \
--push NO
name: Build vfx1/vfx2 images

- run: |
- name: Build vfx images
run: |
set -ex
pipenv run aswfdocker \
--repo-uri $GITHUB_REPOSITORY \
Expand All @@ -236,7 +348,6 @@ jobs:
--group vfx3 \
--version ${{ matrix.version }} \
--push NO
name: Build vfx3 image

- run: |
set -ex
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
cache: 'pipenv'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
cache: 'pipenv'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
release:
runs-on: ubuntu-20.04-8c-32g-300h
runs-on: ${{ (github.repository_owner == 'AcademySoftwareFoundation' && 'ubuntu-22.04-8c-32g-300h') || 'ubuntu-latest' }}
env:
DOCKER_CLI_EXPERIMENTAL: enabled
DOCKER_BUILDKIT: '1'
Expand All @@ -31,9 +31,11 @@ jobs:

- name: Activate Docker buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: env.BUILDKIT_STEP_LOG_MAX_SIZE=10485760

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
cache: 'pipenv'
Expand Down
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ repos:
- repo: https://github.com/ambv/black
rev: 22.12.0
hooks:
# Don't reformat vendored Conan recipes
- id: black
language_version: python3.9
exclude: packages/conan/recipes/
- repo: local
hooks:
- id: pytest
Expand Down
Loading
Loading