Skip to content

Commit

Permalink
- disable python 2.7 build on macOS, as it failes with C++20
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Jan 12, 2023
1 parent 0536ff7 commit c45df99
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/brief.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with_examples: ["True"]
package_option: ["-DWITH_ALL_PACKAGES=ON"]
language_bindings:
[ "-DWITH_JAVA=True -DWITH_CSHARP=True -DWITH_PYTHON=True"]
[ "-DWITH_JAVA=True -DWITH_CSHARP=True"]
cpp_standard: [98, 20]
runs-on: ${{ matrix.platform }}

Expand Down Expand Up @@ -72,6 +72,8 @@ jobs:
shell: bash
run: |
echo RUNTIME_LINKING_OPTION="-DWITH_STATIC_RUNTIME=ON" >> "${GITHUB_ENV}"
echo PYTHON_LINKING_OPTION="-DWITH_PYTHON=ON" >> "${GITHUB_ENV}"
- name: Install Ubuntu dependencies
# ubuntu already has SWIG and libxml2 by default
Expand All @@ -80,7 +82,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y check ccache
echo PYTHON_LINKING_OPTION="-DPYTHON_USE_DYNAMIC_LOOKUP=ON" >> "${GITHUB_ENV}"
echo PYTHON_LINKING_OPTION="-DWITH_PYTHON=ON -DPYTHON_USE_DYNAMIC_LOOKUP=ON" >> "${GITHUB_ENV}"
echo R_BINDINGS="-DWITH_R=True" >> "${GITHUB_ENV}"
git clone https://github.com/libexpat/libexpat
cmake -G Ninja -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DEXPAT_BUILD_TESTS=OFF -DEXPAT_BUILD_TOOLS=OFF -DEXPAT_BUILD_EXAMPLES=OFF -DEXPAT_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./dependencies -B libexpat -S libexpat/expat
Expand Down

0 comments on commit c45df99

Please sign in to comment.