Skip to content

Commit 6667b8e

Browse files
committed
修正
1 parent f8c710d commit 6667b8e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build-debug.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,24 @@ jobs:
135135
path: sora-cpp-sdk
136136
repository: shiguredo/sora-cpp-sdk
137137
ref: ${{ steps.version.outputs.sora_cpp_sdk_version }}
138+
# Ubuntu 24.04 だと libtinfo5 が見つからない問題があるので、その修正
139+
# ref: https://qiita.com/gengen16k/items/88cf3c18a40a94205fab
140+
- name: Fix CUDA issues for Ubuntu 24.04
141+
if: steps.sora-cpp-sdk-cache.outputs.cache-hit != 'true' && matrix.platform.name == ubuntu-24.04_x86_64
142+
run: |
143+
sudo tee /etc/apt/sources.list.d/jammy.list << EOF
144+
deb http://archive.ubuntu.com/ubuntu/ jammy universe
145+
EOF
146+
147+
sudo tee /etc/apt/preferences.d/pin-jammy <<EOF
148+
Package: *
149+
Pin: release n=jammy
150+
Pin-Priority: -10
151+
152+
Package: libtinfo5
153+
Pin: release n=jammy
154+
Pin-Priority: 990
155+
EOF
138156
- name: Setup sora-cpp-sdk
139157
if: steps.sora-cpp-sdk-cache.outputs.cache-hit != 'true'
140158
working-directory: sora-cpp-sdk

0 commit comments

Comments
 (0)