Skip to content

Commit

Permalink
Let's fix Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos committed Jul 19, 2024
1 parent 9ba00ab commit df32cae
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/python-wheel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
# os: [ubuntu-20.04, windows-2022, macos-13]
os: [ubuntu-20.04, macos-13]
os: [ubuntu-20.04]

steps:
- uses: actions/checkout@v3
Expand All @@ -24,15 +24,16 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BEFORE_ALL_LINUX: yum install -y wget
CIBW_BEFORE_ALL: >
wget https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz &&
tar xf gmp-6.3.0.tar.xz &&
cd gmp-6.3.0 &&
./configure --enable-static -enable-cxx --enable-shared &&
make -j8 &&
make install &&
cd ..
# CIBW_BEFORE_ALL_LINUX: yum install -y wget
CIBW_BEFORE_LINUX: >
yum install -y gmp-devel glibc-devel &&
# wget https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz &&
# tar xf gmp-6.3.0.tar.xz &&
# cd gmp-6.3.0 &&
# ./configure --enable-static -enable-cxx --enable-shared &&
# make -j8 &&
# make install &&
# cd .. &&
git clone https://github.com/meelgroup/cadical.git &&
cd cadical &&
git checkout add_dynamic_lib &&
Expand Down

0 comments on commit df32cae

Please sign in to comment.