From a6252a0ebbc3c06a7da352448cc3b9638aee9550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Thu, 18 Apr 2024 03:51:18 +0200 Subject: [PATCH] Native/Workflows: Add comments explaining APT sources. --- .github/workflows/assimp.yml | 3 +++ .github/workflows/glfw.yml | 3 +++ .github/workflows/openal-soft.yml | 3 +++ .github/workflows/sdl2.yml | 3 +++ .github/workflows/swiftshader.yml | 3 +++ .github/workflows/vulkan-loader.yml | 3 +++ .github/workflows/wgpu.yml | 3 +++ 7 files changed, 21 insertions(+) diff --git a/.github/workflows/assimp.yml b/.github/workflows/assimp.yml index f4d5e1bcea..a9b599bdfe 100644 --- a/.github/workflows/assimp.yml +++ b/.github/workflows/assimp.yml @@ -21,6 +21,9 @@ jobs: name: Linux nuke_invoke: ./build.sh extras: | + # We need to adjust APT sources for multiarch. Use the ones corresponding to + # Ubuntu 22.04 with appropriate `arch` values. ports.ubuntu.com is required + # for armhf and arm64. sudo tee /etc/apt/sources.list << EOF deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy main universe deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-backports main universe diff --git a/.github/workflows/glfw.yml b/.github/workflows/glfw.yml index a651c76436..2e5acc7230 100644 --- a/.github/workflows/glfw.yml +++ b/.github/workflows/glfw.yml @@ -21,6 +21,9 @@ jobs: name: Linux nuke_invoke: ./build.sh extras: | + # We need to adjust APT sources for multiarch. Use the ones corresponding to + # Ubuntu 22.04 with appropriate `arch` values. ports.ubuntu.com is required + # for armhf and arm64. sudo tee /etc/apt/sources.list << EOF deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy main multiverse restricted universe deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-backports main multiverse restricted universe diff --git a/.github/workflows/openal-soft.yml b/.github/workflows/openal-soft.yml index 256ff70881..76188dad29 100644 --- a/.github/workflows/openal-soft.yml +++ b/.github/workflows/openal-soft.yml @@ -21,6 +21,9 @@ jobs: name: Linux nuke_invoke: ./build.sh extras: | + # We need to adjust APT sources for multiarch. Use the ones corresponding to + # Ubuntu 22.04 with appropriate `arch` values. ports.ubuntu.com is required + # for armhf and arm64. sudo tee /etc/apt/sources.list << EOF deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy main multiverse restricted universe deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-backports main multiverse restricted universe diff --git a/.github/workflows/sdl2.yml b/.github/workflows/sdl2.yml index 2238f15495..5cf5caaf01 100644 --- a/.github/workflows/sdl2.yml +++ b/.github/workflows/sdl2.yml @@ -56,6 +56,9 @@ jobs: uses: Beyley/run-as-1804@239b211a2ca687388b6251d6dab22cb90ac0391d with: command: | + # We need to adjust APT sources for multiarch. Use the ones corresponding to + # Ubuntu 18.04 with appropriate `arch` values. ports.ubuntu.com is required + # for armhf and arm64. tee /etc/apt/sources.list << EOF deb [arch=amd64] http://archive.ubuntu.com/ubuntu bionic main multiverse restricted universe deb [arch=amd64] http://archive.ubuntu.com/ubuntu bionic-backports main multiverse restricted universe diff --git a/.github/workflows/swiftshader.yml b/.github/workflows/swiftshader.yml index 7342900276..2715ebde8e 100644 --- a/.github/workflows/swiftshader.yml +++ b/.github/workflows/swiftshader.yml @@ -21,6 +21,9 @@ jobs: name: Linux nuke_invoke: ./build.sh extras: | + # We need to adjust APT sources for multiarch. Use the ones corresponding to + # Ubuntu 22.04 with appropriate `arch` values. ports.ubuntu.com is required + # for armhf and arm64. sudo tee /etc/apt/sources.list << EOF deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy main multiverse restricted universe deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-backports main multiverse restricted universe diff --git a/.github/workflows/vulkan-loader.yml b/.github/workflows/vulkan-loader.yml index ac1d97b81d..4b6b9fb1dc 100644 --- a/.github/workflows/vulkan-loader.yml +++ b/.github/workflows/vulkan-loader.yml @@ -21,6 +21,9 @@ jobs: name: Linux nuke_invoke: ./build.sh extras: | + # We need to adjust APT sources for multiarch. Use the ones corresponding to + # Ubuntu 22.04 with appropriate `arch` values. ports.ubuntu.com is required + # for armhf and arm64. sudo tee /etc/apt/sources.list << EOF deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy main multiverse restricted universe deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-backports main multiverse restricted universe diff --git a/.github/workflows/wgpu.yml b/.github/workflows/wgpu.yml index 238376f2d7..f3cdfdcd3c 100644 --- a/.github/workflows/wgpu.yml +++ b/.github/workflows/wgpu.yml @@ -21,6 +21,9 @@ jobs: name: Linux nuke_invoke: ./build.sh extras: | + # We need to adjust APT sources for multiarch. Use the ones corresponding to + # Ubuntu 22.04 with appropriate `arch` values. ports.ubuntu.com is required + # for armhf and arm64. sudo tee /etc/apt/sources.list << EOF deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy main multiverse restricted universe deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-backports main multiverse restricted universe