diff --git a/.github/workflows/build-relwithdebinfo.yml b/.github/workflows/build-relwithdebinfo.yml index dfae6fd..b0e3da5 100644 --- a/.github/workflows/build-relwithdebinfo.yml +++ b/.github/workflows/build-relwithdebinfo.yml @@ -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 @@ -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 @@ -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 @@ -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