-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add importlib_metadata for python <=3.8
- Loading branch information
Showing
4 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
export NAME="s390x" | ||
export TOOLCHAIN_NAME="s390x-linux-gnu" | ||
export DOCKER_CONTAINER="s390x/ubuntu:22.04" | ||
export PLATFORM_NAME="linux/s390x" | ||
|
||
cd ~/src/gfort2py/tests | ||
make clean | ||
cd ~/src/gfort2py | ||
|
||
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes | ||
docker load -i docker_${TOOLCHAIN_NAME}.tar | ||
|
||
docker start ${TOOLCHAIN_NAME} | ||
|
||
docker run -v $(pwd):/gfort2py --platform ${PLATFORM_NAME} ${TOOLCHAIN_NAME} /bin/bash -c "cd /gfort2py && python -m pip install . && python -m pytest -v" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters