89
89
. ./activate && \
90
90
pip install --upgrade pip && \
91
91
pip install maturin && \
92
- CC=gcc maturin build --no-sdist --release --strip --manylinux 2010 --cargo-extra-args="--features=openssl" \
92
+ CC=gcc maturin build --no-sdist --release --strip --manylinux 2010 --cargo-extra-args="--features=openssl,libgmp3 " \
93
93
'
94
94
95
95
- name : Build Windows with maturin on Python ${{ matrix.python }}
@@ -99,12 +99,12 @@ jobs:
99
99
. .\venv\Scripts\Activate.ps1
100
100
ln -s venv\Scripts\Activate.ps1 activate
101
101
git clone https://github.com/Chia-Network/mpir_gc_x64.git --depth 1
102
- maturin build --no-sdist -i python --release --strip
102
+ maturin build --no-sdist -i python --release --strip --cargo-extra-args="--features=mpir"
103
103
# this will install into the venv
104
104
# it'd be better to use the wheel, but I can't figure out how to do that
105
105
# TODO: figure this out
106
106
# this does NOT work: pip install target/wheels/clvm_rs-*.whl
107
- maturin develop --release
107
+ maturin develop --release --cargo-extra-args="--features=mpir"
108
108
# the line above also doesn't seem to work
109
109
110
110
- name : Install clvm_rs wheel
@@ -232,11 +232,11 @@ jobs:
232
232
with :
233
233
toolchain : nightly
234
234
- name : install GMP
235
- run : sudo apt install libgmp3 -dev
235
+ run : sudo apt install libgmp -dev
236
236
- name : cargo-fuzz
237
237
run : cargo +nightly install cargo-fuzz
238
238
- name : build
239
- run : cargo +nightly fuzz build
239
+ run : cargo +nightly fuzz build --cargo-extra-args="--features=openssl"
240
240
241
241
unit_tests :
242
242
runs-on : ubuntu-20.04
@@ -251,6 +251,6 @@ jobs:
251
251
toolchain : stable
252
252
components : rustfmt, clippy
253
253
- name : install GMP
254
- run : sudo apt install libgmp3 -dev
254
+ run : sudo apt install libgmp -dev
255
255
- name : cargo test
256
256
run : cargo test
0 commit comments