Skip to content

Commit

Permalink
check free mem and use less with jobs 1
Browse files Browse the repository at this point in the history
  • Loading branch information
iiSeymour committed Apr 1, 2023
1 parent 9b83cb4 commit ee3f75c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
rustup default 1.68.2

cargo build
free -h
cargo build --jobs 1

for PYBIN in /opt/python/cp3[7891]*/bin; do
"${PYBIN}/pip" install maturin
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
docker run --privileged --rm tonistiigi/binfmt --install arm64
- name: Build wheels
run: |
docker run --workdir /src -v ${PWD}:/src ${{ matrix.container }} /bin/bash .github/workflows/build-wheels.sh
docker run --platform linux/arm64 --workdir /src -v ${PWD}:/src ${{ matrix.container }} /bin/bash .github/workflows/build-wheels.sh
- uses: actions/upload-artifact@v3
with:
name: linux-aarch-wheels
Expand Down

0 comments on commit ee3f75c

Please sign in to comment.