Skip to content

Commit

Permalink
Try group:previous fix. Comment all but reuse job for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCallow committed Jul 7, 2024
1 parent 660fd3e commit 52f8604
Showing 1 changed file with 137 additions and 134 deletions.
271 changes: 137 additions & 134 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,144 +47,147 @@ env:
# FEATURE_PY is off for arm64 macOS because we'd need a cross-compiled version
# of Python for it to correctly build the Python extensions (the CI
# runs on x86_64)
- CONFIGURATION=Debug,Release PLATFORM=macOS ARCHS=x86_64
FEATURE_DOC=ON FEATURE_JNI=ON FEATURE_PY=ON FEATURE_LOADTESTS=OpenGL+Vulkan FEATURE_TOOLS=ON
FEATURE_TOOLS_CTS=ON LOADTESTS_USE_LOCAL_DEPENDENCIES=ON SUPPORT_SSE=ON SUPPORT_OPENCL=OFF DEPLOY_DOCS=YES PACKAGE=YES
- CONFIGURATION=Release PLATFORM=macOS ARCHS=arm64
FEATURE_DOC=ON FEATURE_JNI=ON FEATURE_PY=OFF FEATURE_LOADTESTS=OpenGL+Vulkan FEATURE_TESTS=OFF
FEATURE_TOOLS=ON FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=ON SUPPORT_OPENCL=OFF PACKAGE=YES

- CONFIGURATION=Release PLATFORM=macOS ARCHS=x86_64
FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF FEATURE_TOOLS=OFF
FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=ON SUPPORT_OPENCL=ON
- CONFIGURATION=Release PLATFORM=macOS ARCHS=arm64
FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF FEATURE_TESTS=OFF
FEATURE_TOOLS=OFF FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=ON SUPPORT_OPENCL=ON

- CONFIGURATION=Release PLATFORM=macOS ARCHS=x86_64
FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF FEATURE_TOOLS=OFF
FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=OFF SUPPORT_OPENCL=ON
- CONFIGURATION=Release PLATFORM=macOS ARCHS=arm64
FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF FEATURE_TESTS=OFF
FEATURE_TOOLS=OFF FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=OFF SUPPORT_OPENCL=ON

- CONFIGURATION=Release PLATFORM=macOS ARCHS=x86_64
FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF FEATURE_TOOLS=OFF
FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=OFF SUPPORT_OPENCL=OFF
- CONFIGURATION=Release PLATFORM=macOS ARCHS=arm64
FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF FEATURE_TESTS=OFF
FEATURE_TOOLS=OFF FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=OFF
SUPPORT_OPENCL=OFF

- CONFIGURATION=Debug,Release PLATFORM=iOS
FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OpenGL+Vulkan FEATURE_TOOLS=OFF
FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=OFF SUPPORT_OPENCL=OFF PACKAGE=YES
# - CONFIGURATION=Debug,Release PLATFORM=macOS ARCHS=x86_64
# FEATURE_DOC=ON FEATURE_JNI=ON FEATURE_PY=ON FEATURE_LOADTESTS=OpenGL+Vulkan FEATURE_TOOLS=ON
# FEATURE_TOOLS_CTS=ON LOADTESTS_USE_LOCAL_DEPENDENCIES=ON SUPPORT_SSE=ON SUPPORT_OPENCL=OFF DEPLOY_DOCS=YES PACKAGE=YES
# - CONFIGURATION=Release PLATFORM=macOS ARCHS=arm64
# FEATURE_DOC=ON FEATURE_JNI=ON FEATURE_PY=OFF FEATURE_LOADTESTS=OpenGL+Vulkan FEATURE_TESTS=OFF
# FEATURE_TOOLS=ON FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=ON SUPPORT_OPENCL=OFF PACKAGE=YES
#
# - CONFIGURATION=Release PLATFORM=macOS ARCHS=x86_64
# FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF FEATURE_TOOLS=OFF
# FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=ON SUPPORT_OPENCL=ON
# - CONFIGURATION=Release PLATFORM=macOS ARCHS=arm64
# FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF FEATURE_TESTS=OFF
# FEATURE_TOOLS=OFF FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=ON SUPPORT_OPENCL=ON
#
# - CONFIGURATION=Release PLATFORM=macOS ARCHS=x86_64
# FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF FEATURE_TOOLS=OFF
# FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=OFF SUPPORT_OPENCL=ON
# - CONFIGURATION=Release PLATFORM=macOS ARCHS=arm64
# FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF FEATURE_TESTS=OFF
# FEATURE_TOOLS=OFF FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=OFF SUPPORT_OPENCL=ON
#
# - CONFIGURATION=Release PLATFORM=macOS ARCHS=x86_64
# FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF FEATURE_TOOLS=OFF
# FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=OFF SUPPORT_OPENCL=OFF
# - CONFIGURATION=Release PLATFORM=macOS ARCHS=arm64
# FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF FEATURE_TESTS=OFF
# FEATURE_TOOLS=OFF FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=OFF
# SUPPORT_OPENCL=OFF
#
# - CONFIGURATION=Debug,Release PLATFORM=iOS
# FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OpenGL+Vulkan FEATURE_TOOLS=OFF
# FEATURE_TOOLS_CTS=OFF SUPPORT_SSE=OFF SUPPORT_OPENCL=OFF PACKAGE=YES

jobs:
include:
- os: linux
dist: jammy
env:
- CHECK_REUSE: ONLY
- os: linux
dist: jammy
addons:
apt:
packages:
- python3
- python3-venv
compiler: gcc # clang is tested by macOS build
env:
# NB: This must not have the fourth component of the version number.
- VULKAN_SDK_VER: "1.3.243"
- CMAKE_GEN: Ninja
- CONFIGURATION=Debug
FEATURE_DOC=OFF FEATURE_JNI=ON FEATURE_PY=ON FEATURE_LOADTESTS=OpenGL+Vulkan FEATURE_TOOLS=ON
SUPPORT_SSE=ON SUPPORT_OPENCL=OFF WERROR=ON
- os: linux
dist: jammy
addons:
apt:
packages:
- graphviz
- python3
- python3-venv
compiler: gcc
#jdk: openjdk17 # Reminder to find correct way to select jdk 17
env:
# NB: This must not have the fourth component of the version number.
- VULKAN_SDK_VER: "1.3.243"
- CMAKE_GEN: Ninja
- CONFIGURATION=Release
FEATURE_DOC=ON FEATURE_JNI=ON FEATURE_PY=ON FEATURE_LOADTESTS=OpenGL+Vulkan FEATURE_TOOLS=ON
SUPPORT_SSE=ON SUPPORT_OPENCL=OFF WERROR=ON PACKAGE=YES
- os: linux
arch: arm64
# Suggested by Travis-CI support to workaround pyparser install
# failure with 2024.6.25 runner image.
# Force use of previous runner version. See arm64 runner below.
group: previous
dist: jammy
addons:
apt:
packages:
- graphviz
- python3
- python3-venv
compiler: gcc
#jdk: openjdk17
env:
# NB: This must not have the fourth component of the version number.
- VULKAN_SDK_VER: "1.3.243"
- CMAKE_GEN: Ninja
- CONFIGURATION=Release
FEATURE_DOC=ON FEATURE_JNI=ON FEATURE_PY=ON FEATURE_LOADTESTS=OpenGL
FEATURE_TOOLS=ON FEATURE_TOOLS_CTS=OFF
SUPPORT_SSE=OFF SUPPORT_OPENCL=OFF WERROR=ON PACKAGE=YES
- os: linux
dist: jammy
compiler: gcc
env:
- CMAKE_GEN: Ninja
- CONFIGURATION=Release
FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF
FEATURE_TOOLS=OFF FEATURE_TOOLS_CTS=OFF
SUPPORT_SSE=ON SUPPORT_OPENCL=ON WERROR=ON PACKAGE=NO
- os: linux
dist: jammy
compiler: gcc
env:
- CMAKE_GEN: Ninja
- CONFIGURATION=Release
FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF
FEATURE_TOOLS=OFF FEATURE_TOOLS_CTS=OFF
SUPPORT_SSE=OFF SUPPORT_OPENCL=ON WERROR=ON PACKAGE=NO
- os: linux
dist: jammy
compiler: gcc
env:
- CMAKE_GEN: Ninja
- CONFIGURATION=Release
FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF
FEATURE_TOOLS=OFF FEATURE_TOOLS_CTS=OFF
SUPPORT_SSE=OFF SUPPORT_OPENCL=OFF WERROR=ON PACKAGE=NO
- os: linux
dist: jammy
compiler: clang
services: docker
env:
- WASM_BUILD=YES
- CONFIGURATION=Debug
FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OpenGL
SUPPORT_SSE=OFF SUPPORT_OPENCL=OFF WERROR=ON
- os: linux
dist: jammy
compiler: clang
services: docker
env:
- WASM_BUILD=YES
- CONFIGURATION=Release
FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OpenGL
SUPPORT_SSE=OFF SUPPORT_OPENCL=OFF WERROR=ON PACKAGE=YES
- CHECK_REUSE: ONLY
# - os: linux
# dist: jammy
# addons:
# apt:
# packages:
# - python3
# - python3-venv
# compiler: gcc # clang is tested by macOS build
# env:
# # NB: This must not have the fourth component of the version number.
# - VULKAN_SDK_VER: "1.3.243"
# - CMAKE_GEN: Ninja
# - CONFIGURATION=Debug
# FEATURE_DOC=OFF FEATURE_JNI=ON FEATURE_PY=ON FEATURE_LOADTESTS=OpenGL+Vulkan FEATURE_TOOLS=ON
# SUPPORT_SSE=ON SUPPORT_OPENCL=OFF WERROR=ON
# - os: linux
# dist: jammy
# addons:
# apt:
# packages:
# - graphviz
# - python3
# - python3-venv
# compiler: gcc
# #jdk: openjdk17 # Reminder to find correct way to select jdk 17
# env:
# # NB: This must not have the fourth component of the version number.
# - VULKAN_SDK_VER: "1.3.243"
# - CMAKE_GEN: Ninja
# - CONFIGURATION=Release
# FEATURE_DOC=ON FEATURE_JNI=ON FEATURE_PY=ON FEATURE_LOADTESTS=OpenGL+Vulkan FEATURE_TOOLS=ON
# SUPPORT_SSE=ON SUPPORT_OPENCL=OFF WERROR=ON PACKAGE=YES
# - os: linux
# arch: arm64
# dist: jammy
# # Suggested by Travis-CI support to workaround pyparser install
# # failure due to now permission to write to system packages with
# # 2024.6.25 runner image. Forces use of previous runner version.
# group: previous
# addons:
# apt:
# packages:
# - graphviz
# - python3
# - python3-venv
# compiler: gcc
# #jdk: openjdk17
# env:
# # NB: This must not have the fourth component of the version number.
# - VULKAN_SDK_VER: "1.3.243"
# - CMAKE_GEN: Ninja
# - CONFIGURATION=Release
# FEATURE_DOC=ON FEATURE_JNI=ON FEATURE_PY=ON FEATURE_LOADTESTS=OpenGL
# FEATURE_TOOLS=ON FEATURE_TOOLS_CTS=OFF
# SUPPORT_SSE=OFF SUPPORT_OPENCL=OFF WERROR=ON PACKAGE=YES
# - os: linux
# dist: jammy
# compiler: gcc
# env:
# - CMAKE_GEN: Ninja
# - CONFIGURATION=Release
# FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF
# FEATURE_TOOLS=OFF FEATURE_TOOLS_CTS=OFF
# SUPPORT_SSE=ON SUPPORT_OPENCL=ON WERROR=ON PACKAGE=NO
# - os: linux
# dist: jammy
# compiler: gcc
# env:
# - CMAKE_GEN: Ninja
# - CONFIGURATION=Release
# FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF
# FEATURE_TOOLS=OFF FEATURE_TOOLS_CTS=OFF
# SUPPORT_SSE=OFF SUPPORT_OPENCL=ON WERROR=ON PACKAGE=NO
# - os: linux
# dist: jammy
# compiler: gcc
# env:
# - CMAKE_GEN: Ninja
# - CONFIGURATION=Release
# FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OFF
# FEATURE_TOOLS=OFF FEATURE_TOOLS_CTS=OFF
# SUPPORT_SSE=OFF SUPPORT_OPENCL=OFF WERROR=ON PACKAGE=NO
# - os: linux
# dist: jammy
# compiler: clang
# services: docker
# env:
# - WASM_BUILD=YES
# - CONFIGURATION=Debug
# FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OpenGL
# SUPPORT_SSE=OFF SUPPORT_OPENCL=OFF WERROR=ON
# - os: linux
# dist: jammy
# compiler: clang
# services: docker
# env:
# - WASM_BUILD=YES
# - CONFIGURATION=Release
# FEATURE_DOC=OFF FEATURE_JNI=OFF FEATURE_PY=OFF FEATURE_LOADTESTS=OpenGL
# SUPPORT_SSE=OFF SUPPORT_OPENCL=OFF WERROR=ON PACKAGE=YES

# Phase 1: Git clone - done automatically.
# Phase 2: Install apt addons.
Expand Down Expand Up @@ -220,9 +223,9 @@ install:
linux)
if [ "$CHECK_REUSE" = "YES" -o "$CHECK_REUSE" = "ONLY" ]; then
set -e # because the if below swallows a bad exit status.
# reuse doesn't seem to have attrs as a prerequisite hence
# explicit install.
pip3 install attrs reuse
# reuse available via `apt install reuse` is very old: 0.14.0.
# Therefore install via pip. Version today, 2024.7.7, is 4.0.2.
pip3 install reuse
set +e
fi
if [ "$CHECK_REUSE" != "ONLY" -a "$CHECK_MKVK" != "ONLY" -a "$WASM_BUILD" != "YES" ]; then
Expand Down

0 comments on commit 52f8604

Please sign in to comment.