Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-sentry committed Dec 6, 2023
1 parent 3932e2a commit a58280e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/build_alpine_arm.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh
echo $0
echo $1
apk add musl-dev build-base
pip install -r requirements.txt
pip install .
python setup.py build
STATICCODECOV_LIB_PATH=$(find build/ -maxdepth 1 -type d -name 'lib.*' -print -quit | xargs -I {} sh -c "find {} -type f -name 'staticcodecov*' -print -quit | sed 's|^./||'")`
pyinstaller --add-binary ${STATICCODECOV_LIB_PATH}:. --copy-metadata codecov-cli --hidden-import staticcodecov_languages -F codecov_cli/main.py
cp ./dist/main ./dist/codecovcli_$0
cp ./dist/main ./dist/codecovcli_$1
4 changes: 2 additions & 2 deletions scripts/build_linux_arm.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh
echo $0
echo $1
apt install build-essential
pip install -r requirements.txt
pip install .
python setup.py build
STATICCODECOV_LIB_PATH=$(find build/ -maxdepth 1 -type d -name 'lib.*' -print -quit | xargs -I {} sh -c "find {} -type f -name 'staticcodecov*' -print -quit | sed 's|^./||'")`
pyinstaller --add-binary ${STATICCODECOV_LIB_PATH}:. --copy-metadata codecov-cli --hidden-import staticcodecov_languages -F codecov_cli/main.py
cp ./dist/main ./dist/codecovcli_$0
cp ./dist/main ./dist/codecovcli_$1

0 comments on commit a58280e

Please sign in to comment.