diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 83b2028ab3..20d108f783 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,7 +33,8 @@ jobs: linux-gcc11, linux-debug-gcc11, windows, - windows-debug + windows-debug, + macos-arm64 ] include: @@ -76,6 +77,15 @@ jobs: publish: false jobs: 4 + - name: macos-arm64 + os: macos-14 + buildType: RELEASE + options: .github/workflows/main/options.posix + dependenciesURL: https://github.com/GafferHQ/dependencies/releases/download/10.0.0/gafferDependencies-10.0.0-macos-arm64.tar.gz + tests: testCore testCorePython testScene testImage testAlembic testUSD testVDB + publish: true + jobs: 3 + runs-on: ${{ matrix.os }} container: ${{ matrix.containerImage }} diff --git a/.github/workflows/main/options.posix b/.github/workflows/main/options.posix index 6eaca8cd17..826a6ca678 100644 --- a/.github/workflows/main/options.posix +++ b/.github/workflows/main/options.posix @@ -63,4 +63,5 @@ ENV_VARS_TO_IMPORT = "PATH CI" if platform.system() == "Darwin" : os.environ["DYLD_FRAMEWORK_PATH"] = libs - ENV_VARS_TO_IMPORT += " DYLD_FRAMEWORK_PATH" + os.environ["PYTHONHOME"] = libs + "/Python.framework/Versions/" + pythonABIVersion + ENV_VARS_TO_IMPORT += " DYLD_FRAMEWORK_PATH PYTHONHOME"