Skip to content

Commit

Permalink
Python バージョンを増やす
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed Nov 3, 2024
1 parent 653b121 commit 91892cc
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build-relwithdebinfo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
platform:
- name: ubuntu-24.04_x86_64
runs-on: ubuntu-24.04
python:
- version: 3.10
- version: 3.11
- version: 3.12
- version: 3.13
runs-on: ${{ matrix.platform.runs-on }}
steps:
- name: Disk Cleanup
Expand Down Expand Up @@ -118,7 +123,7 @@ jobs:
sudo apt-get install -y software-properties-common
# X11
sudo apt-get install libx11-dev libxext-dev
sudo apt-get install -y libx11-dev libxext-dev
# CUDA
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
Expand All @@ -134,6 +139,12 @@ jobs:
if: steps.sora-cpp-sdk-cache.outputs.cache-hit != 'true'
working-directory: sora-cpp-sdk
run: python3 run.py --relwithdebinfo ${{ matrix.platform.name }}
- name: Teardown sora-cpp-sdk
if: steps.sora-cpp-sdk-cache.outputs.cache-hit != 'true'
run: |
# CUDA が入ってると使おうとしてエラーになるのでアンインストールしておく
sudo apt-get remove -y cuda
sudo apt-get autoremove -y
# sora-python-sdk
- name: Setup sora-python-sdk
Expand Down Expand Up @@ -174,7 +185,7 @@ jobs:
working-directory: sora-python-sdk
run: |
set -x
# uv python pin ${{ matrix.python_version }}
uv python pin ${{ matrix.python.version }}
uv sync
uv run python run.py --relwithdebinfo ${{ matrix.platform.name }}
# cache
Expand Down

0 comments on commit 91892cc

Please # to comment.