Skip to content

Commit

Permalink
setup-uv を v5 に上げる
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Dec 23, 2024
1 parent f80fb57 commit 8f0da58
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
- uses: actions/checkout@v4
- run: |
sudo apt-get -y install libx11-dev
- uses: astral-sh/setup-uv@v4
- uses: astral-sh/setup-uv@v5
with:
enable-cache: false
- run: uv python pin 3.13
- run: uv sync
- name: Generate pyi
Expand Down Expand Up @@ -103,7 +105,9 @@ jobs:
# multistrap に insecure なリポジトリからの取得を許可する設定を入れる
sudo sed -e 's/Apt::Get::AllowUnauthenticated=true/Apt::Get::AllowUnauthenticated=true";\n$config_str .= " -o Acquire::AllowInsecureRepositories=true/' -i /usr/sbin/multistrap
if: ${{ matrix.platform.os == 'ubuntu' && matrix.platform.arch == 'armv8' }}
- uses: astral-sh/setup-uv@v4
- uses: astral-sh/setup-uv@v5
with:
enable-cache: false
- run: uv python pin ${{ matrix.python_version }}
- run: uv sync

Expand Down Expand Up @@ -176,7 +180,9 @@ jobs:
- run: |
cp sora_sdk/py.typed src/sora_sdk/py.typed
cp sora_sdk/sora_sdk_ext.pyi src/sora_sdk/sora_sdk_ext.pyi
- uses: astral-sh/setup-uv@v4
- uses: astral-sh/setup-uv@v5
with:
enable-cache: false
- run: uv python pin ${{ matrix.python_version }}
- run: uv sync
- run: uv run python run.py windows_x86_64
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
bzip2 -d libopenh264-${{ env.OPENH264_VERSION }}-linux64.7.so.bz2
mv libopenh264-${{ env.OPENH264_VERSION }}-linux64.7.so libopenh264.so
echo "OPENH264_PATH=$(pwd)/libopenh264.so" >> $GITHUB_ENV
- uses: astral-sh/setup-uv@v4
- uses: astral-sh/setup-uv@v5
with:
enable-cache: false
- run: uv python pin ${{ matrix.python_version }}
- run: uv sync
- run: uv run python run.py ${{ matrix.os }}_x86_64
Expand Down Expand Up @@ -81,7 +83,9 @@ jobs:
bzip2 -d libopenh264-${{ env.OPENH264_VERSION }}-mac-arm64.dylib.bz2
mv libopenh264-${{ env.OPENH264_VERSION }}-mac-arm64.dylib libopenh264.dylib
echo "OPENH264_PATH=$(pwd)/libopenh264.dylib" >> $GITHUB_ENV
- uses: astral-sh/setup-uv@v4
- uses: astral-sh/setup-uv@v5
with:
enable-cache: false
- run: uv python pin ${{ matrix.python_version }}
- run: uv sync
- run: uv run python run.py macos_arm64
Expand Down Expand Up @@ -114,7 +118,9 @@ jobs:
7z e openh264-${{ env.OPENH264_VERSION }}-win64.dll.bz2
Rename-Item -Path "openh264-${{ env.OPENH264_VERSION }}-win64.dll" -NewName "libopenh264.dll"
echo "OPENH264_PATH=$PWD\libopenh264.dll" >> $env:GITHUB_ENV
- uses: astral-sh/setup-uv@v4
- uses: astral-sh/setup-uv@v5
with:
enable-cache: false
- run: uv python pin ${{ matrix.python_version }}
- run: uv sync
- run: uv run python run.py windows_x86_64
Expand Down

0 comments on commit 8f0da58

Please # to comment.