Skip to content

Commit

Permalink
refactor(ci): setup python through action
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed May 23, 2024
1 parent dae2cab commit 32ff8fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
- name: 📋 Install Dependencies
shell: bash
if: ${{ inputs.container == 'ubuntu-latest' }}
run: dnf install -y make automake gcc gcc-c++ kernel-devel cmake git python3 python3-pip python3-devel docker sed
run: dnf install -y make automake gcc gcc-c++ kernel-devel cmake git docker sed

- name: 📋 Install OpenMP
shell: bash
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
container: ${{ matrix.os }}
install-vtk: false

- name: 🐍 Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: 🦥 Cache Dependencies
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -79,6 +84,8 @@ jobs:

- name: 🐍 Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: 🛞 CIBuildWheel
run: python -m pip install cibuildwheel==2.17.0
Expand Down

0 comments on commit 32ff8fa

Please sign in to comment.