From 593c289a66b8264116cc1a98addafdb370101476 Mon Sep 17 00:00:00 2001 From: melpon Date: Sat, 21 Sep 2024 02:24:10 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 395a156..acab96f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,10 +54,7 @@ jobs: target: ubuntu-22.04_x86_64 runs_on: ubuntu-22.04 os: ubuntu - - name: ubuntu-24.04_armv8 - target: ubuntu-24.04_armv8 - runs_on: ubuntu-24.04 - os: ubuntu + arch: x86_64 - name: macos-13_arm64 target: macos_arm64 runs_on: macos-13 @@ -80,6 +77,7 @@ jobs: target: ubuntu-24.04_armv8 runs_on: ubuntu-24.04 os: ubuntu + arch: armv8 python_version: "3.12" needs: [build_pyi] runs-on: ${{ matrix.platform.runs_on }} @@ -97,7 +95,12 @@ jobs: - run: | sudo apt-get update sudo apt-get -y install libva-dev libdrm-dev libx11-dev - if: ${{ matrix.platform.os == 'ubuntu' }} + if: ${{ matrix.platform.os == 'ubuntu' && matrix.platform.arch == 'x86_64' }} + - run: | + sudo apt-get -y install multistrap binutils-aarch64-linux-gnu + # 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@v2 - run: uv python pin ${{ matrix.python_version }} - run: uv sync