Skip to content

Commit

Permalink
Use cp-ubuntu-24.04 with ubuntu 22.04 image for slowest PR test.
Browse files Browse the repository at this point in the history
Switch run-ubuntu-gcc-aarch64-llvm-latest-cl3-0-fp16 to use it as
a test.
  • Loading branch information
coldav committed Jan 8, 2025
1 parent 05d3c56 commit cb24114
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/actions/setup_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ runs:
if: ${{ inputs.os == 'ubuntu' }}
shell: bash
run: |
# required for virtualenv running in docker
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV
# required due to using non docker to build llvm
# If we switch to always using docker we can drop.
sudo apt-get install --yes lib32ncurses-dev
if [ "${{ inputs.cross_arch }}" = "x86" ]; then sudo dpkg --add-architecture i386 ; fi
wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
if [ "${{ inputs.ubuntu_version }}" = "20.04" ]; then sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.243-focal.list https://packages.lunarg.com/vulkan/1.3.243/lunarg-vulkan-1.3.243-focal.list; fi
Expand All @@ -52,6 +57,8 @@ runs:
sudo apt-get update
if [ "${{ inputs.clang_tidy }}" = "true" ]; then sudo apt-get install --yes clang-tidy-19; fi
pip install lit clang-format==19.1.0 virtualenv
# required for gtest-terse-runner running in docker
pip install colorama
sudo apt-get install --yes doxygen
sudo apt-get install --yes vulkan-sdk
# TODO: Only required if we are running something that requires qemu, not required for building
Expand All @@ -64,7 +71,7 @@ runs:
if: ${{ inputs.os == 'ubuntu' }}
uses: ./.github/actions/do_install_ubuntu_cross_tools
with:
cross_arch: ${{ inputs.cross_arch }}
cross_arch: ${{ inputs.cross_arch }}

- name: Install windows prerequisites
if: ${{ inputs.os == 'windows' }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/run_pr_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,11 @@ jobs:

# Based on: mr-ubuntu-gcc-aarch64-llvm-previous-cl3-0-fp16
run-ubuntu-gcc-aarch64-llvm-latest-cl3-0-fp16:
runs-on: ubuntu-22.04
runs-on: cp-ubuntu-24.04
container:
image: ghcr.io/intel/llvm/ubuntu2204_base:latest
volumes:
- ${{github.workspace}}:${{github.workspace}}
timeout-minutes: 90 # aarch64 needs longer timeout
steps:
- name: Checkout repo
Expand Down

0 comments on commit cb24114

Please sign in to comment.