33
33
linux-gcc11,
34
34
linux-debug-gcc11,
35
35
windows,
36
- windows-debug
36
+ windows-debug,
37
+ macos-arm64
37
38
]
38
39
39
40
include :
46
47
dependenciesURL : https://github.com/GafferHQ/dependencies/releases/download/8.0.1/gafferDependencies-8.0.1-linux-gcc11.tar.gz
47
48
tests : testCore testCorePython testScene testImage testAlembic testUSD testVDB
48
49
publish : true
50
+ jobs : 4
49
51
50
52
- name : linux-debug-gcc11
51
53
os : ubuntu-20.04
55
57
dependenciesURL : https://github.com/GafferHQ/dependencies/releases/download/8.0.1/gafferDependencies-8.0.1-linux-gcc11.tar.gz
56
58
tests : testCore testCorePython testScene testImage testAlembic testUSD testVDB
57
59
publish : false
60
+ jobs : 4
58
61
59
62
- name : windows
60
63
os : windows-2019
63
66
dependenciesURL : https://github.com/GafferHQ/dependencies/releases/download/8.0.1/gafferDependencies-8.0.1-windows.zip
64
67
tests : testCore testCorePython testScene testImage testAlembic testUSD testVDB
65
68
publish : true
69
+ jobs : 4
66
70
67
71
- name : windows-debug
68
72
os : windows-2019
71
75
dependenciesURL : https://github.com/GafferHQ/dependencies/releases/download/8.0.1/gafferDependencies-8.0.1-windows.zip
72
76
tests : testCore testCorePython testScene testImage testAlembic testUSD testVDB
73
77
publish : false
78
+ jobs : 4
79
+
80
+ - name : macos-arm64
81
+ os : macos-14
82
+ buildType : RELEASE
83
+ options : .github/workflows/main/options.posix
84
+ dependenciesURL : https://github.com/GafferHQ/dependencies/releases/download/9.0.0/gafferDependencies-9.0.0-macos-arm64.tar.gz
85
+ tests : testCore testCorePython testScene testImage testAlembic testUSD testVDB
86
+ publish : true
87
+ jobs : 3
74
88
75
89
runs-on : ${{ matrix.os }}
76
90
@@ -92,16 +106,10 @@ jobs:
92
106
if : runner.os == 'Windows'
93
107
94
108
- name : Install toolchain (MacOS)
95
- # Prefer `pip install` because it is faster
96
- # than `brew install`.
97
109
run : |
98
- sudo pip3 install scons==4.0.1
99
- # Brew installs all manner of headers into `/usr/local/include`, including
100
- # OpenEXR and Imath versions that conflict with our own. We can't stop Clang
101
- # finding them because Clang is hardcoded to look in `/usr/local/include`
102
- # _before_ anything we specify with `-isystem`, despite documentation to the
103
- # contrary. So we nuke the headers.
104
- rm -rf /usr/local/include/*
110
+ # Choose a specific Xcode version in case the default changes on the macos-14 runner image.
111
+ sudo xcode-select -s /Applications/Xcode_15.4.0.app/Contents/Developer
112
+ sudo pip3 install scons==4.6.0 --break-system-packages
105
113
echo PACKAGE_COMMAND=tar -czf >> $GITHUB_ENV
106
114
echo PACKAGE_EXTENSION=tar.gz >> $GITHUB_ENV
107
115
if : runner.os == 'macOS'
@@ -154,7 +162,7 @@ jobs:
154
162
155
163
- name : Build
156
164
run : |
157
- scons -j 4 BUILD_TYPE=${{ matrix.buildType }} OPTIONS=${{ matrix.options }} BUILD_CACHEDIR=sconsCache
165
+ scons -j ${{ matrix.jobs }} BUILD_TYPE=${{ matrix.buildType }} OPTIONS=${{ matrix.options }} BUILD_CACHEDIR=sconsCache
158
166
# Copy the config log for use in the "Debug Failures" step, because it
159
167
# gets clobbered by the `scons test*` call below.
160
168
cp config.log buildConfig.log
0 commit comments