Skip to content

Commit 91a84de

Browse files
authored
Merge pull request #1380 from johnhaddon/depsUpdate
CI : Update to GafferHQ/dependencies 7.0.0
2 parents e1acad6 + 9ec93a6 commit 91a84de

18 files changed

+75
-38
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
buildType: RELEASE
4444
containerImage: ghcr.io/gafferhq/build/build:2.0.0
4545
options: .github/workflows/main/options.posix
46-
dependenciesURL: https://github.com/GafferHQ/dependencies/releases/download/6.0.0/gafferDependencies-6.0.0-linux.tar.gz
46+
dependenciesURL: https://github.com/GafferHQ/dependencies/releases/download/7.0.0/gafferDependencies-7.0.0-linux.tar.gz
4747
tests: testCore testCorePython testScene testImage testAlembic testUSD testVDB
4848
publish: true
4949

@@ -52,23 +52,23 @@ jobs:
5252
buildType: DEBUG
5353
containerImage: ghcr.io/gafferhq/build/build:2.0.0
5454
options: .github/workflows/main/options.posix
55-
dependenciesURL: https://github.com/GafferHQ/dependencies/releases/download/6.0.0/gafferDependencies-6.0.0-linux.tar.gz
55+
dependenciesURL: https://github.com/GafferHQ/dependencies/releases/download/7.0.0/gafferDependencies-7.0.0-linux.tar.gz
5656
tests: testCore testCorePython testScene testImage testAlembic testUSD testVDB
5757
publish: false
5858

5959
- name: windows-python3
6060
os: windows-2019
6161
buildType: RELEASE
6262
options: .github/workflows/main/options.windows
63-
dependenciesURL: https://github.com/GafferHQ/dependencies/releases/download/6.0.0/gafferDependencies-6.0.0-windows.zip
63+
dependenciesURL: https://github.com/GafferHQ/dependencies/releases/download/7.0.0/gafferDependencies-7.0.0-windows.zip
6464
tests: testCore testCorePython testScene testImage testAlembic testUSD testVDB
6565
publish: true
6666

6767
- name: windows-python3-debug
6868
os: windows-2019
6969
buildType: RELWITHDEBINFO
7070
options: .github/workflows/main/options.windows
71-
dependenciesURL: https://github.com/GafferHQ/dependencies/releases/download/6.0.0/gafferDependencies-6.0.0-windows.zip
71+
dependenciesURL: https://github.com/GafferHQ/dependencies/releases/download/7.0.0/gafferDependencies-7.0.0-windows.zip
7272
tests: testCore testCorePython testScene testImage testAlembic testUSD testVDB
7373
publish: false
7474

test/IECore/CompilerTest.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,17 @@
3939
#include "IECore/Export.h"
4040

4141
IECORE_PUSH_DEFAULT_VISIBILITY
42+
#include "OpenEXR/OpenEXRConfig.h"
43+
#if OPENEXR_VERSION_MAJOR < 3
4244
#include "OpenEXR/ImathBox.h"
4345
#include "OpenEXR/ImathVec.h"
44-
IECORE_POP_DEFAULT_VISIBILITY
45-
4646
#include "OpenEXR/ImathLineAlgo.h"
47+
#else
48+
#include "Imath/ImathBox.h"
49+
#include "Imath/ImathVec.h"
50+
#include "Imath/ImathLineAlgo.h"
51+
#endif
52+
IECORE_POP_DEFAULT_VISIBILITY
4753

4854
IECORE_PUSH_DEFAULT_VISIBILITY
4955
#include "boost/test/unit_test.hpp"

test/IECore/DataConversionTest.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ IECORE_PUSH_DEFAULT_VISIBILITY
4646
IECORE_POP_DEFAULT_VISIBILITY
4747

4848
#include "boost/random.hpp"
49-
#include "boost/test/floating_point_comparison.hpp"
5049

5150
#include <cassert>
5251

test/IECore/DataConvertTest.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ IECORE_PUSH_DEFAULT_VISIBILITY
4444
#include "boost/test/unit_test.hpp"
4545
IECORE_POP_DEFAULT_VISIBILITY
4646

47-
#include "boost/test/floating_point_comparison.hpp"
48-
4947
#include <cassert>
5048

5149
namespace IECore

test/IECore/DespatchTypedDataTest.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ IECORE_PUSH_DEFAULT_VISIBILITY
4545
#include "boost/test/unit_test.hpp"
4646
IECORE_POP_DEFAULT_VISIBILITY
4747

48-
#include "boost/test/floating_point_comparison.hpp"
49-
5048
#include <cassert>
5149

5250
using namespace Imath;

test/IECore/IECoreTest.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@
3535
#include "IECore/Export.h"
3636

3737
IECORE_PUSH_DEFAULT_VISIBILITY
38+
#include "OpenEXR/OpenEXRConfig.h"
39+
#if OPENEXR_VERSION_MAJOR < 3
3840
#include "OpenEXR/ImathColor.h"
41+
#else
42+
#include "Imath/ImathColor.h"
43+
#endif
3944
IECORE_POP_DEFAULT_VISIBILITY
4045

4146
#include <iostream>

test/IECore/Imath.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ def testConstructors(self):
8181
self.assertEqual(v.x, 1)
8282
self.assertEqual(v.y, 1)
8383

84-
self.assertRaises( RuntimeError, imath.V2f, [ 1 ] )
85-
self.assertRaises( RuntimeError, imath.V2f, [ 1, 2, 3 ] )
84+
self.assertRaises( Exception, imath.V2f, [ 1 ] )
85+
self.assertRaises( Exception, imath.V2f, [ 1, 2, 3 ] )
8686

8787
def testDimensions(self):
8888
"""Test V2f dimensions"""
@@ -291,9 +291,9 @@ def testConstructors(self):
291291
self.assertEqual(v.y, 1)
292292
self.assertEqual(v.z, 1)
293293

294-
self.assertRaises( RuntimeError, imath.V3f, [ 1 ] )
295-
self.assertRaises( RuntimeError, imath.V3f, [ 1, 2 ] )
296-
self.assertRaises( RuntimeError, imath.V3f, [ 1, 2, 3, 4 ] )
294+
self.assertRaises( Exception, imath.V3f, [ 1 ] )
295+
self.assertRaises( Exception, imath.V3f, [ 1, 2 ] )
296+
self.assertRaises( Exception, imath.V3f, [ 1, 2, 3, 4 ] )
297297

298298
def testDimensions(self):
299299
"""Test V3f dimensions"""

test/IECore/IndexedIOTest.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ IECORE_PUSH_DEFAULT_VISIBILITY
4343
#include "boost/test/unit_test.hpp"
4444
IECORE_POP_DEFAULT_VISIBILITY
4545

46-
#include "boost/test/floating_point_comparison.hpp"
47-
4846
#include <cassert>
4947
#include <iostream>
5048
#include <string>

test/IECore/InternedStringTest.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@
3636

3737
#include "IECore/InternedString.h"
3838

39+
#include "OpenEXR/OpenEXRConfig.h"
40+
#if OPENEXR_VERSION_MAJOR < 3
3941
#include "OpenEXR/ImathRandom.h"
42+
#else
43+
#include "Imath/ImathRandom.h"
44+
#endif
4045

4146
#include "boost/lexical_cast.hpp"
4247

test/IECore/InterpolatorTest.h

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,23 @@
3939
#include "IECore/Interpolator.h"
4040

4141
IECORE_PUSH_DEFAULT_VISIBILITY
42+
#include "OpenEXR/OpenEXRConfig.h"
43+
#if OPENEXR_VERSION_MAJOR < 3
4244
#include "OpenEXR/ImathMatrix.h"
45+
#include "OpenEXR/ImathMatrixAlgo.h"
4346
#include "OpenEXR/ImathVec.h"
47+
#else
48+
#include "Imath/ImathMatrix.h"
49+
#include "Imath/ImathMatrixAlgo.h"
50+
#include "Imath/ImathVec.h"
51+
#endif
4452
IECORE_POP_DEFAULT_VISIBILITY
4553

46-
#include "OpenEXR/ImathMatrixAlgo.h"
4754

4855
IECORE_PUSH_DEFAULT_VISIBILITY
4956
#include "boost/test/unit_test.hpp"
5057
IECORE_POP_DEFAULT_VISIBILITY
5158

52-
#include "boost/test/floating_point_comparison.hpp"
53-
5459
namespace IECore
5560
{
5661
void addInterpolatorTest(boost::unit_test::test_suite* test);

0 commit comments

Comments
 (0)