Skip to content

Fix system dependency issues and add additional test harness #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
matrix:
include:
- python-version: "3"
installed-python-version: "3.12.0"
installed-python-version: "3.12.2"
- python-version: "3.9"
installed-python-version: "3.9.18"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -100,6 +100,7 @@ jobs:

pip install requests
pip3 install s4cmd
pip3 install boto3

test_python_version_file:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Kishan B
Copyright (c) Kishan B

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:
installation_directory=${{ steps.set-installation-directory.outputs.installation_directory }}
mkdir -p "${installation_directory}"
exact_python_version="${{ steps.find-exact-python-version.outputs.exact_python_version }}"
${GITHUB_ACTION_PATH}/install-python.sh "${exact_python_version}" "${installation_directory}"
${GITHUB_ACTION_PATH}/install-python.sh "${exact_python_version}" "${installation_directory}"

- name: Add python to PATH
shell: bash
Expand All @@ -59,7 +59,7 @@ runs:
echo "The following python binaries are now available in the PATH"
ls "${installation_directory}/bin"

echo "Linking python libraries.."
echo "Linking python libraries..."
ls "${installation_directory}/lib"
sudo ldconfig "${installation_directory}/lib"

Expand Down
6 changes: 3 additions & 3 deletions find-exact-python-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ fi
# - https://devguide.python.org/versions/
case "${desired_python_version}" in
"3")
echo "3.12.0"
echo "3.12.2"
;;
"3.12")
echo "3.12.0"
echo "3.12.2"
;;
"3.11")
echo "3.11.6"
echo "3.11.8"
;;
"3.10")
echo "3.10.13"
Expand Down
4 changes: 3 additions & 1 deletion install-system-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ fi

dynamic_package_list="${desired_openssl_package} ${desired_lib_crypt}"

sudo yum install -y gcc make \
sudo yum install -y autoconf automake binutils bison byacc cscope ctags diffstat doxygen \
elfutils flex gcc gcc-c++ gcc-gfortran gettext git indent intltool libtool make patch patchutils \
pkgconfig rpm-build rpm-sign swig system-rpm-config systemtap \
${dynamic_package_list} zlib-devel bzip2 bzip2-devel readline-devel libffi-devel \
ncurses-devel sqlite sqlite-devel gdbm-devel tk-devel xz-devel \
tar gzip wget which