Skip to content

Commit

Permalink
install python explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Sep 18, 2024
1 parent f7e842d commit 35acede
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,29 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [39, 310, 311]
python-version: ["3.9", "3.10", "3.11"]

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

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Build the manylinux2010 image
run: docker compose build manylinux2010

- name: Build the package for Python ${{ matrix.python-version }}
run: |
docker compose run -e PYTHON_VERSION=${{ matrix.python-version }} manylinux2010
$version=${{ matrix.python-version }}
docker compose run -e PYTHON_VERSION=$(echo "$version" | sed 's/\.//') manylinux2010
- name: Upload wheel artifact for Python ${{ matrix.python-version }}
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 35acede

Please sign in to comment.