adds tests to linux arm64 so that everything breaks now

This commit is contained in:
Carl Beekhuizen 2022-01-27 09:16:08 -08:00
parent e02316cfe0
commit a0d4190127
No known key found for this signature in database
GPG Key ID: 8F29E54F49E7AAB5

View File

@ -169,6 +169,18 @@ jobs:
mkdir ${BUILD_FILE_NAME}; mkdir ${BUILD_FILE_NAME};
pyenv global 3.7.5; pyenv global 3.7.5;
pyinstaller --distpath ./${BUILD_FILE_NAME} ./build_configs/linux/build.spec; pyinstaller --distpath ./${BUILD_FILE_NAME} ./build_configs/linux/build.spec;
- run:
name: Test executable binaries
command: |
export PYTHONHASHSEED=42
export CIRCLE_SHORT_SHA1=$(eval echo $CIRCLE_SHA1 | cut -c -7)
export BUILD_FILE_NAME=staking_deposit-cli-${CIRCLE_SHORT_SHA1}-linux-arm64;
export TEST_FOLDER_NAME=TMP_TEST_FOLDER
mkdir ${TEST_FOLDER_NAME}
cp -r ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME}
cp test_binary_script.py ${TEST_FOLDER_NAME}
cd ${TEST_FOLDER_NAME}
python test_binary_script.py ./${BUILD_FILE_NAME};
- run: - run:
name: Compress the file name: Compress the file
command: | command: |