-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for Python min and max versions
- Loading branch information
Showing
4 changed files
with
35 additions
and
12 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
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/bin/bash | ||
# Enable the (official) PowerTools repository. This provides Ninja. | ||
dnf install -y dnf-plugins-core python38-devel gcc-toolset-9-gcc gcc-toolset-9-gcc-c++ | ||
export NRN_PYTHON=$(command -v python3.8) | ||
dnf install -y dnf-plugins-core "python3${PYTHON_MIN_VERSION}-devel" gcc-toolset-9-gcc gcc-toolset-9-gcc-c++ | ||
NRN_PYTHON="$(command -v "python3.${PYTHON_MIN_VERSION}")" | ||
export NRN_PYTHON | ||
echo "NRN_PYTHON=${NRN_PYTHON}" >> $GITHUB_ENV | ||
dnf config-manager --set-enabled powertools |