Skip to content
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
27 changes: 22 additions & 5 deletions .github/workflows/build-conquest-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on: # yamllint disable-line rule:truthy
default: false
type: boolean
platforms:
description: 'Platform to build for, eg. '
description: "Platform to build for"
type: choice
options:
- 'rocky8'
- 'ubuntu'
Expand All @@ -31,7 +32,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set output
id: set_output
Expand Down Expand Up @@ -64,13 +65,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
if: ${{ needs.setup.outputs.python == 'python' }}
with:
python-version: '3.9'
python-version: '3.11'

- name: Set up Python environment
run: |
Expand Down Expand Up @@ -118,3 +119,19 @@ jobs:
jfrog rt upload --flat \
"${{ env.archive_path }}/${{ env.archive_filename }}" \
"ccdc-3rdparty-python-interpreters/conquest_python/2.7/"

- name: Upload conquest python to ProGet
if: ${{ inputs.artifactory-push }}
shell: bash
env:
PROGET_API_KEY: ${{ secrets.PROGET_API_KEY }}
PROGET_BASE_URL: ${{ vars.PROGET_BASE_URL }}
PROGET_ASSET_DIRECTORY: ${{ vars.PROGET_ASSET_DIRECTORY }}
run: |
PROGET_ENDPOINT="${PROGET_BASE_URL}/endpoints/${PROGET_ASSET_DIRECTORY}/content/conquest_python/2.7/${{ env.archive_filename }}"

curl -X POST \
-H "X-ApiKey: ${PROGET_API_KEY}" \
--data-binary "@${{ env.archive_path }}/${{ env.archive_filename }}" \
--fail-with-body \
"$PROGET_ENDPOINT"
2 changes: 1 addition & 1 deletion build_conquest_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ class JpegPackage(InstallInConquestPythonBaseMixin, AutoconfMixin, NoArchiveMixi
@property
def source_archives(self):
return {
f'jpegsrc.v{self.version}.tar.gz': f'https://fossies.org/linux/misc/jpegsrc.v{self.version}.tar.gz'
f'jpegsrc.v{self.version}.tar.gz': f'https://www.ijg.org/files/jpegsrc.v{self.version}.tar.gz'
}


Expand Down