Skip to content

Commit

Permalink
[CI] skip one repo on apt update
Browse files Browse the repository at this point in the history
It's a workaround for GHA issue.
Ref. actions/runner-images#9733
  • Loading branch information
lukaszstolarczuk committed Apr 24, 2024
1 parent 12abae0 commit 6e5a369
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ jobs:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install apt packages
run: |
rm /etc/apt/sources.list.d/microsoft-prod.list
apt-get update
apt-get install -y libnuma-dev libjemalloc-dev libtbb-dev libhwloc-dev
Expand Down Expand Up @@ -124,8 +126,10 @@ jobs:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install apt packages
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install -y clang cmake libnuma-dev libjemalloc-dev libtbb-dev
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ jobs:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install apt packages
if: matrix.os == 'ubuntu-latest'
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install -y cmake libhwloc-dev libnuma-dev libjemalloc-dev libtbb-dev
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ jobs:
run: vcpkg install
shell: pwsh # Specifies PowerShell as the shell for running the script.

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install apt packages
if: matrix.os == 'ubuntu-latest'
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install -y cmake clang libhwloc-dev libnuma-dev libjemalloc-dev libtbb-dev
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install apt packages
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install -y cmake hwloc libhwloc-dev libjemalloc-dev libnuma-dev libtbb-dev
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install doxygen
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install -y doxygen
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install apt packages
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install -y cmake hwloc libhwloc-dev libjemalloc-dev libnuma-dev libtbb-dev valgrind
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pr_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ jobs:
run: vcpkg install
shell: pwsh # Specifies PowerShell as the shell for running the script.

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install apt packages
if: matrix.os == 'ubuntu-latest'
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install -y cmake libjemalloc-dev libhwloc-dev libnuma-dev libtbb-dev
Expand Down Expand Up @@ -99,8 +101,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install apt packages
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install -y black cmake clang-format-15 cmake-format libhwloc-dev
Expand Down Expand Up @@ -131,8 +135,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install doxygen
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install -y doxygen
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/proxy_lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ jobs:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install apt packages
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install -y cmake libhwloc-dev libjemalloc-dev libtbb-dev
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ jobs:
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install qemu
run: |
sudo apt update && sudo apt install -y qemu-system genisoimage qemu-utils
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt update
sudo apt install -y qemu-system genisoimage qemu-utils
- name: Run ssh-keygen
run: ssh-keygen -b 4096 -N '' -f ~/.ssh/id_rsa
- name: Generate iso with user info
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ jobs:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install apt packages
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
apt-get update
apt-get install -y cmake libnuma-dev libjemalloc-dev libtbb-dev libhwloc-dev
Expand Down Expand Up @@ -74,8 +76,10 @@ jobs:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install apt packages
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install -y clang cmake libhwloc-dev libnuma-dev libjemalloc-dev libtbb-dev
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# TODO: 'rm' is a workaround for https://github.com/actions/runner-images/issues/9733
- name: Install apt packages
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install -y cmake hwloc libhwloc-dev libjemalloc-dev libnuma-dev libtbb-dev valgrind
Expand Down

0 comments on commit 6e5a369

Please sign in to comment.