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