From 34158fb71862cb5745b2dbbe3d029704ca4be881 Mon Sep 17 00:00:00 2001 From: voluntas Date: Tue, 3 Sep 2024 22:26:50 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=8A=E8=A9=A6=E3=81=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/e2e-test.yml | 63 ++++------------------------------ test/momo.py | 11 ++++-- 2 files changed, 15 insertions(+), 59 deletions(-) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 76c536cd..89dca94c 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -15,66 +15,15 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - - name: Install dependencies - run: | + - run: | sudo apt update sudo apt install -y ffmpeg v4l2loopback-dkms v4l2loopback-utils linux-modules-extra-$(uname -r) - - name: Disk cleanup - run: | - set -x - df -h - sudo du -h -d1 /usr/local - sudo du -h -d1 /usr/local/share - sudo du -h -d1 /usr/local/lib - sudo du -h -d1 /usr/share - RMI=`docker images -q -a` - if [ -n "$RMI" ]; then - docker rmi $RMI - fi - # 4.6G - sudo rm -rf /usr/local/.ghcup - # 1.7G - sudo rm -rf /usr/share/swift - # 1.4G - sudo rm -rf /usr/share/dotnet - df -h - # Ubuntu 24.04 だと libtinfo5 が見つからない問題があるので、その修正 - # ref: https://qiita.com/gengen16k/items/88cf3c18a40a94205fab - - name: Fix CUDA issues for Ubuntu 24.04 - run: | - sudo tee /etc/apt/sources.list.d/jammy.list << EOF - deb http://archive.ubuntu.com/ubuntu/ jammy universe - EOF - - sudo tee /etc/apt/preferences.d/pin-jammy <