From 556a7086a3ecb34108e5847456e1fed9899d9cc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Sun, 8 Sep 2024 12:42:50 +0900 Subject: [PATCH] fix: update llvm-build process for backward compatibility in GitHub Actions --- .github/workflows/llvm-build-bump-pr.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/llvm-build-bump-pr.yml b/.github/workflows/llvm-build-bump-pr.yml index dd615ec..c3a1385 100644 --- a/.github/workflows/llvm-build-bump-pr.yml +++ b/.github/workflows/llvm-build-bump-pr.yml @@ -92,9 +92,10 @@ jobs: run: | docker run --rm --privileged multiarch/qemu-user-static --reset -p yes + # Use the oldest ubuntu image version possible for backward compatibility. - name: Docker run run: | - docker run --name ${{ matrix.docker.node-name }} --platform linux/${{ matrix.docker.arch }} ${{ matrix.docker.image }}/ubuntu:latest /bin/bash -c " + docker run --name ${{ matrix.docker.node-name }} --platform linux/${{ matrix.docker.arch }} ${{ matrix.docker.image }}/ubuntu:20.04 /bin/bash -c " uname -m && pwd && @@ -136,8 +137,9 @@ jobs: matrix: type: - macos-14 # arm64 (macos-latest: arm64) - - macos-13 # x64 (macos-12: x64) + - macos-12 # x64 (macos-13: x64) + # Use the oldest version possible for backward compatibility. runs-on: ${{ matrix.type }} needs: [stage1] @@ -191,7 +193,8 @@ jobs: # Windows stage2-build-win32: - runs-on: windows-latest + # Use the oldest version possible for backward compatibility. + runs-on: windows-2019 needs: [stage1]