Skip to content

Commit

Permalink
Tweak things.
Browse files Browse the repository at this point in the history
  • Loading branch information
adalisk-emikhaylov committed Oct 21, 2024
1 parent e4e6203 commit 9f3e87c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/pip-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,15 @@ jobs:
docker-image: "meshlib/meshlib-ubuntu20:latest"
container-options: "--user root"
runner: ubuntu-latest
compiler: /usr/bin/clang++-11
- platform: "aarch64"
docker-image: "meshlib/meshlib-ubuntu-arm64:latest"
container-options: "--user root"
runner: [ 'self-hosted', 'linux-arm64' ]
# When using Clang 11 on Ubuntu Arm 20.04, we get some obscure ABI issues that fail some tests,
# see the comments in `test_regression/test_algorithms/test_decimate.py` for more details.
compiler: /usr/bin/clang++-18

- py-version: "3.8"
py-tag: "cp38"
py-cmd: "python3.8"
Expand Down Expand Up @@ -117,20 +122,18 @@ jobs:
MESHLIB_BUILD_DEBUG: "OFF"
# When using Clang 11 on Ubuntu Arm 20.04, we get some obscure ABI issues that fail some tests,
# see the comments in `test_regression/test_algorithms/test_decimate.py` for more details.
CMAKE_CXX_COMPILER: ${{fromJSON('["/usr/bin/clang++-11", "/usr/bin/clang++-18"]')[matrix.platform == 'aarch64']}}
CMAKE_CXX_COMPILER: ${{matrix.compiler}}
# FIXME: OpenGL libraries are included to wheel packages when the XDE module is used
# Disabling CUDA at least because Clang 18 is too new for it on Ubuntu 20.04, and we're using Clang 18 for reasons
# explained in `MeshLib/scripts/mrbind/0001-Disable-tests-that-seem-to-expose-an-ABI-incompatibility.patch`.
MR_CMAKE_OPTIONS: >
-DMRIOEXTRAS_OPENCASCADE_USE_XDE=OFF
-DMRVIEWER_NO_GTK=ON
-DMESHLIB_BUILD_MRCUDA=OFF
# not realy needed
CMAKE_C_COMPILER: ${{fromJSON('["/usr/bin/clang-11", "/usr/bin/clang-18"]')[matrix.platform == 'aarch64']}}
- name: Generate and build MRBind bindings
run: |
make -f scripts/mrbind/generate.mk -B --trace PYTHON_PKGCONF_NAME=python-${{matrix.py-version}}-embed CXX_FOR_ABI=${{fromJSON('["/usr/bin/clang++-11", "/usr/bin/clang++-18"]')[matrix.platform == 'aarch64']}}
make -f scripts/mrbind/generate.mk -B --trace PYTHON_PKGCONF_NAME=python-${{matrix.py-version}}-embed CXX_FOR_ABI=${{matrix.compiler}}
- name: Run Tests
run: MR_LOCAL_RESOURCES=1 xvfb-run -a ./build/Release/bin/MeshViewer -hidden -noEventLoop -unloadPluginsAtEnd
Expand Down

0 comments on commit 9f3e87c

Please sign in to comment.