Skip to content

Commit

Permalink
Let's try it this way
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos committed Jul 18, 2024
1 parent c4fa8b2 commit 96523ad
Showing 1 changed file with 33 additions and 16 deletions.
49 changes: 33 additions & 16 deletions .github/workflows/python-wheel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,25 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Checkout CaDiCaL
uses: actions/checkout@v3
with:
repository: meelgroup/cadical
ref: 'add_dynamic_lib'
path: python/cadical
# - name: Checkout CaDiCaL
# uses: actions/checkout@v3
# with:
# repository: meelgroup/cadical
# ref: 'add_dynamic_lib'
# path: python/cadical

- name: Checkout Cadiback
uses: actions/checkout@v3
with:
repository: meelgroup/cadiback
ref: 'mate'
path: python/cadiback
# - name: Checkout Cadiback
# uses: actions/checkout@v3
# with:
# repository: meelgroup/cadiback
# ref: 'mate'
# path: python/cadiback

- name: configure and build CaDiCaL
run: cd python/cadical && CXXFLAGS=-fPIC ./configure --competition && make -j4
# - name: configure and build CaDiCaL
# run: cd python/cadical && CXXFLAGS=-fPIC ./configure --competition && make -j4

- name: Configure and build Cadiback
run: cd python/cadiback && ./configure && make -j4
# - name: Configure and build Cadiback
# run: cd python/cadiback && ./configure && make -j4

# Used to host cibuildwheel
- uses: actions/setup-python@v3
Expand All @@ -45,6 +45,23 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BEFORE_BUILD: >
pwd
echo "here"
ls
echo "here2"
git clone https://github.com/meelgroup/cadical.git
cd cadical
git checkout add_dynamic_lib
./configure
make -j4
cd ..
git clone https://github.com/meelgroup/cadiback.git
cd cadical
git checkout mate
./configure
make -j4
cd ..
CIBW_BEFORE_ALL_LINUX: yum install -y gmp-devel
CIBW_SKIP: "*musl*"
CIBW_ARCHS: "auto64"
Expand Down

0 comments on commit 96523ad

Please sign in to comment.