Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let Mac CI use llvm 11 #1287

Merged
merged 1 commit into from
Nov 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 11 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
name: ${{ github.job }}
path: |
build/*/testsuite/*/*.*
build/*/CMakeCache.txt
build/*/CMake*.{txt,log}

vfxplatform-2020:
name: "Linux VFXP-2020 gcc6/C++14 llvm10 py3.7 boost-1.70 exr-2.4 OIIO-2.1 sse4"
Expand All @@ -78,7 +78,7 @@ jobs:
name: ${{ github.job }}
path: |
build/*/testsuite/*/*.*
build/*/CMakeCache.txt
build/*/CMake*.{txt,log}

vfxplatform-2021:
name: "Linux VFXP-2021 gcc9/C++17 llvm11 py3.7 boost-1.70 exr-2.5 OIIO-2.2 avx2"
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
name: ${{ github.job }}
path: |
build/*/testsuite/*/*.*
build/*/CMakeCache.txt
build/*/CMake*.{txt,log}

# Build for OptiX, but don't run tests (will need a GPU instance for that)
gpu-optix7-2019:
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
name: ${{ github.job }}
path: |
build/*/testsuite/*/*.*
build/*/CMakeCache.txt
build/*/CMake*.{txt,log}
optix.h

linux-debug-gcc7-llvm8:
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
name: ${{ github.job }}
path: |
build/*/testsuite/*/*.*
build/*/CMakeCache.txt
build/*/CMake*.{txt,log}

linux-clang9-llvm9:
name: "Linux clang9, C++14, llvm9, oiio release, avx, exr2.4, avx"
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
name: ${{ github.job }}
path: |
build/*/testsuite/*/*.*
build/*/CMakeCache.txt
build/*/CMake*.{txt,log}

linux-2021ish-gcc8-llvm10:
name: "Linux gcc8, C++17, llvm10, oiio master, avx2, exr2.5, avx2"
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
name: ${{ github.job }}
path: |
build/*/testsuite/*/*.*
build/*/CMakeCache.txt
build/*/CMake*.{txt,log}

linux-bleeding-edge:
# Test against development master for relevant dependencies, latest
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:
name: ${{ github.job }}
path: |
build/*/testsuite/*/*.*
build/*/CMakeCache.txt
build/*/CMake*.{txt,log}

linux-oldest:
# Oldest versions of the dependencies that we can muster, and various
Expand Down Expand Up @@ -289,7 +289,7 @@ jobs:
name: ${{ github.job }}
path: |
build/*/testsuite/*/*.*
build/*/CMakeCache.txt
build/*/CMake*.{txt,log}

macos-py38:
name: "Mac py38"
Expand All @@ -303,30 +303,22 @@ jobs:
CMAKE_CXX_STANDARD: 14
PYTHON_VERSION: 3.8
LLVM_BC_GENERATOR: /usr/bin/clang++
LLVMBREWVER: "@9"
# ^^ There's a bug in the current Homebrew llvm 10.0.1 where
# it fails to link because of missing libxml2.tbd. It's fixed
# upstream in LLVM, but not yet fixed in Homebrew. Hopefully
# a subsequent 10.0.x or 11.x will fix it, but for now, just
# fall back to llvm@9.
OSL_CMAKE_FLAGS: -DLLVM_BC_GENERATOR=/usr/bin/clang++
# ^^ Force bitcode compiles to use the system clang compiler by
# preemptively telling it the LLVM_BC_GENERATOR, to avoid some
# library mismatches we tend to see on GH CI's Mac images.
run: |
source src/build-scripts/ci-startup.bash
source src/build-scripts/install_homebrew_deps.bash
brew uninstall llvm
OPENIMAGEIO_CMAKE_FLAGS="-DOIIO_BUILD_TESTS=0 -DUSE_OPENGL=0"
source src/build-scripts/build_openimageio.bash
brew install openimageio
source src/build-scripts/ci-build-and-test.bash
- uses: actions/upload-artifact@v2
if: failure()
with:
name: ${{ github.job }}
path: |
build/*/testsuite/*/*.*
build/*/CMakeCache.txt
build/*/CMake*.{txt,log}

# windows:
# name: "Windows"
Expand Down