Browse Source

package/ci: can't test on Xcode 10 anymore.

pull/16/head
Vladimír Vondruš 4 years ago
parent
commit
c859405c6a
  1. 33
      package/ci/circleci.yml

33
package/ci/circleci.yml

@ -7,11 +7,9 @@ executors:
ubuntu-18_04: ubuntu-18_04:
docker: docker:
- image: ubuntu:bionic-20220427 - image: ubuntu:bionic-20220427
xcode-10_3:
macos:
xcode: 10.3.0
# Since 2922-05-23, 11.4.1 images wait endlessly for "VM assignment", using # Since 2922-05-23, 11.4.1 images wait endlessly for "VM assignment", using
# 11.5 instead. # 11.5 instead. I would test on 10.3 also, but those also started waiting
# endlessly since 2022-06-09, so it's just 11.5 now.
xcode-11_5: xcode-11_5:
macos: macos:
xcode: 11.5 xcode: 11.5
@ -31,21 +29,6 @@ commands:
if [[ "$CMAKE_CXX_FLAGS" == *"--coverage"* ]]; then export LCOV_PACKAGES="lcov curl"; fi if [[ "$CMAKE_CXX_FLAGS" == *"--coverage"* ]]; then export LCOV_PACKAGES="lcov curl"; fi
apt install -y git ninja-build $LCOV_PACKAGES << parameters.extra >> apt install -y git ninja-build $LCOV_PACKAGES << parameters.extra >>
# ninja needs python@3.9 as a dependency FOR SOME FUCKING REASON and when THE
# DAMN THING installs it, it proceeds with reinstalling python@2. FROM
# SOURCES! FUCK! and then it fails to link it because NO SHIT, python@3.9 is
# already installed! HOW THE FUCK ARE PEOPLE ABLE TO DEAL WITH SUCH CURSED
# SHIT ALL THE TIME?! FUCK OFF
#
# TODO: Needed only on 10.3 and 11.4, not on 11.5 anymore, remove once those
# images are not used anymore.
macos-remove-python-curse:
steps:
- run:
name: Remove Python 2 curse
command: |
HOMEBREW_NO_AUTO_UPDATE=1 brew uninstall python@2
install-base-macos: install-base-macos:
parameters: parameters:
extra: extra:
@ -264,14 +247,11 @@ jobs:
- lcov - lcov
macos-gl: macos-gl:
# 10.2 and below has pybind11 2.2, which is just too old (we removed executor: xcode-11_5
# support for that in aae98e0f02e927f993713afc154da1f3673ebb3e, July 2019)
executor: xcode-10_3
environment: environment:
CMAKE_CXX_FLAGS: --coverage CMAKE_CXX_FLAGS: --coverage
PLATFORM_GL_API: CGL PLATFORM_GL_API: CGL
steps: steps:
- macos-remove-python-curse
- install-base-macos: - install-base-macos:
extra: sdl2 glfw numpy pybind11 extra: sdl2 glfw numpy pybind11
- build: - build:
@ -279,8 +259,6 @@ jobs:
- lcov - lcov
macos-gles3: macos-gles3:
# Using the same executor as Magnum uses for the ES3 build. 10.3 fails to
# load the libGLESv2.dylib due to "Symbol not found: _objc_opt_class".
executor: xcode-11_5 executor: xcode-11_5
environment: environment:
CMAKE_CXX_FLAGS: --coverage CMAKE_CXX_FLAGS: --coverage
@ -297,16 +275,13 @@ jobs:
- lcov - lcov
macos-static: macos-static:
# 10.2 and below has pybind11 2.2, which is just too old (we removed executor: xcode-11_5
# support for that in aae98e0f02e927f993713afc154da1f3673ebb3e, July 2019)
executor: xcode-10_3
environment: environment:
# STUPID yml interprets unquoted ON as a boolean # STUPID yml interprets unquoted ON as a boolean
BUILD_STATIC: "ON" BUILD_STATIC: "ON"
CMAKE_CXX_FLAGS: --coverage CMAKE_CXX_FLAGS: --coverage
PLATFORM_GL_API: CGL PLATFORM_GL_API: CGL
steps: steps:
- macos-remove-python-curse
- install-base-macos: - install-base-macos:
extra: sdl2 glfw numpy pybind11 extra: sdl2 glfw numpy pybind11
- build: - build:

Loading…
Cancel
Save