Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Jan 12, 2022
1 parent b22bfb1 commit 9f7c043
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
python -m pip install ./clvm_tools
python -m pip install colorama
git clone https://github.com/Chia-Network/mpir_gc_x64.git --depth 1
maturin develop --release
maturin develop --release --carg-extra-args="--features=mpir"
- name: Run benchmarks (Windows)
if: startsWith(matrix.os, 'windows')
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-arm64-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
sh rustup-init.sh -y && \
yum -y install openssl-devel && \
yum -y install gmp && \
ls -la /usr/lib64/ && \
ls -la /opt/rh/devtoolset-10/root/usr/lib64/ && \
source $HOME/.cargo/env && \
rustup target add aarch64-unknown-linux-musl && \
rm -rf venv && \
Expand All @@ -56,7 +56,7 @@ jobs:
if [ ! -f "activate" ]; then ln -s venv/bin/activate; fi && \
. ./activate && \
pip install maturin && \
CC=gcc maturin build --no-sdist --release --strip --manylinux 2014 --cargo-extra-args="--features=openssl,libgmp10" \
CC=gcc maturin build --no-sdist --release --strip --manylinux 2014 --cargo-extra-args="--features=openssl,libgmp3" \
'
- name: Upload artifacts
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ jobs:
sh rustup-init.sh -y && \
yum -y install openssl-devel && \
yum -y install gmp && \
ls -la /usr/lib64 && \
ls -la /opt/rh/devtoolset-8/root/usr/lib64 && \
ls -la /opt/rh/devtoolset-8/root/usr/lib && \
source $HOME/.cargo/env && \
rustup target add x86_64-unknown-linux-musl && \
rm -rf venv && \
Expand All @@ -89,7 +90,7 @@ jobs:
. ./activate && \
pip install --upgrade pip && \
pip install maturin && \
CC=gcc maturin build --no-sdist --release --strip --manylinux 2010 --cargo-extra-args="--features=openssl,libgmp3" \
CC=gcc maturin build --no-sdist --release --strip --manylinux 2010 --cargo-extra-args="--features=openssl,libgmp10" \
'
- name: Build Windows with maturin on Python ${{ matrix.python }}
Expand Down Expand Up @@ -236,7 +237,7 @@ jobs:
- name: cargo-fuzz
run: cargo +nightly install cargo-fuzz
- name: build
run: cargo +nightly fuzz build --cargo-extra-args="--features=openssl"
run: cargo +nightly fuzz build

unit_tests:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 9f7c043

Please sign in to comment.