Skip to content

Commit

Permalink
Restore testing of linux aarch64 package
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
  • Loading branch information
spham-amzn committed Feb 15, 2024
1 parent 591f77d commit 593738f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package-system/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN apt-get clean && apt-get update
# Setup time zone and locale data (necessary for SSL and HTTPS packages)
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata locales keyboard-configuration

# Install the development packages needed to build AWS Gamelift
# Install the development packages needed to build python
RUN apt-get install -y autoconf \
build-essential \
cmake \
Expand All @@ -49,6 +49,8 @@ RUN apt-get install -y autoconf \
liblzma-dev \
libreadline-dev \
libtool \
python3-dev \
python3.10-dev \
python3 \
tcl8.6-dev \
tk8.6-dev \
Expand Down
1 change: 1 addition & 0 deletions package-system/python/build_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"./package-linux.sh"
],
"custom_test_cmd": [
"./test-linux.sh"
]
}
}
Expand Down
9 changes: 9 additions & 0 deletions package-system/python/quick_validate_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,24 @@

# this script is run on built python executables to make sure they function.

print("Simple import validation started")

import sys

try:
print("import tkinter")
import tkinter
print("import ssl")
import ssl
print("import sqlite3")
import sqlite3
print("import encodings")
import encodings
print("import tarfile")
import tarfile
print("import lzma")
import lzma
print("import bz2")
import bz2
except Exception as e:
print("Failed: " + e)
Expand Down

0 comments on commit 593738f

Please sign in to comment.