Skip to content

Commit

Permalink
Full remove GH action modifier step due to unexplained failures
Browse files Browse the repository at this point in the history
  • Loading branch information
mlxd committed May 3, 2024
1 parent db41f3e commit 4d49be3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 248 deletions.
98 changes: 0 additions & 98 deletions .github/workflows/tests_linux_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,30 +44,6 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- name: Remove GH Action tooling
run: |
# Following instructions from Apache Flink
# https://github.com/apache/flink/blob/release-1.15/tools/azure-pipelines/free_disk_space.sh
echo "=============================================================================="
echo "Freeing up disk space on CI system"
echo "=============================================================================="
echo "Listing 100 largest packages"
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
df -h
echo "Removing large packages"
sudo apt-get remove -y '^dotnet.*'
sudo apt-get autoremove -y
sudo apt-get clean
df -h
echo "Removing large directories"
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk
sudo rm -rf /opt/hostedtoolcache/Ruby
sudo rm -rf /opt/hostedtoolcache/PyPy
sudo rm -rf /opt/hostedtoolcache/go
rm -rf /usr/share/dotnet/
sudo apt --fix-broken install -y
df -h
- uses: actions/setup-python@v5
name: Install Python
with:
Expand Down Expand Up @@ -156,30 +132,6 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- name: Remove GH Action tooling
run: |
# Following instructions from Apache Flink
# https://github.com/apache/flink/blob/release-1.15/tools/azure-pipelines/free_disk_space.sh
echo "=============================================================================="
echo "Freeing up disk space on CI system"
echo "=============================================================================="
echo "Listing 100 largest packages"
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
df -h
echo "Removing large packages"
sudo apt-get remove -y '^dotnet.*'
sudo apt-get autoremove -y
sudo apt-get clean
df -h
echo "Removing large directories"
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk
sudo rm -rf /opt/hostedtoolcache/Ruby
sudo rm -rf /opt/hostedtoolcache/PyPy
sudo rm -rf /opt/hostedtoolcache/go
rm -rf /usr/share/dotnet/
sudo apt --fix-broken install -y
df -h
- uses: actions/setup-python@v5
name: Install Python
with:
Expand Down Expand Up @@ -246,31 +198,6 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- name: Remove GH Action tooling
run: |
# Following instructions from Apache Flink
# https://github.com/apache/flink/blob/release-1.15/tools/azure-pipelines/free_disk_space.sh
echo "=============================================================================="
echo "Freeing up disk space on CI system"
echo "=============================================================================="
echo "Listing 100 largest packages"
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
df -h
echo "Removing large packages"
sudo apt-get remove -y '^dotnet.*'
sudo apt-get autoremove -y
sudo apt-get clean
df -h
echo "Removing large directories"
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk
sudo rm -rf /opt/hostedtoolcache/Ruby
sudo rm -rf /opt/hostedtoolcache/PyPy
sudo rm -rf /opt/hostedtoolcache/go
rm -rf /usr/share/dotnet/
sudo apt --fix-broken install -y
df -h
- uses: actions/setup-python@v5
name: Install Python
with:
Expand Down Expand Up @@ -365,31 +292,6 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- name: Remove GH Action tooling
run: |
# Following instructions from Apache Flink
# https://github.com/apache/flink/blob/release-1.15/tools/azure-pipelines/free_disk_space.sh
echo "=============================================================================="
echo "Freeing up disk space on CI system"
echo "=============================================================================="
echo "Listing 100 largest packages"
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
df -h
echo "Removing large packages"
sudo apt-get remove -y '^dotnet.*'
sudo apt-get autoremove -y
sudo apt-get clean
df -h
echo "Removing large directories"
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk
sudo rm -rf /opt/hostedtoolcache/Ruby
sudo rm -rf /opt/hostedtoolcache/PyPy
sudo rm -rf /opt/hostedtoolcache/go
rm -rf /usr/share/dotnet/
sudo apt --fix-broken install -y
df -h
- uses: actions/setup-python@v5
name: Install Python
with:
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/tests_lkcpu_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,31 +53,6 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- name: Remove GH Action tooling
run: |
# Following instructions from Apache Flink
# https://github.com/apache/flink/blob/release-1.15/tools/azure-pipelines/free_disk_space.sh
echo "=============================================================================="
echo "Freeing up disk space on CI system"
echo "=============================================================================="
echo "Listing 100 largest packages"
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
df -h
echo "Removing large packages"
sudo apt-get remove -y '^dotnet.*'
sudo apt-get autoremove -y
sudo apt-get clean
df -h
echo "Removing large directories"
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk
sudo rm -rf /opt/hostedtoolcache/Ruby
sudo rm -rf /opt/hostedtoolcache/PyPy
sudo rm -rf /opt/hostedtoolcache/go
rm -rf /usr/share/dotnet/
sudo apt --fix-broken install -y
df -h
- name: Checkout PennyLane-Lightning
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -173,31 +148,6 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- name: Remove GH Action tooling
run: |
# Following instructions from Apache Flink
# https://github.com/apache/flink/blob/release-1.15/tools/azure-pipelines/free_disk_space.sh
echo "=============================================================================="
echo "Freeing up disk space on CI system"
echo "=============================================================================="
echo "Listing 100 largest packages"
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
df -h
echo "Removing large packages"
sudo apt-get remove -y '^dotnet.*'
sudo apt-get autoremove -y
sudo apt-get clean
df -h
echo "Removing large directories"
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk
sudo rm -rf /opt/hostedtoolcache/Ruby
sudo rm -rf /opt/hostedtoolcache/PyPy
sudo rm -rf /opt/hostedtoolcache/go
rm -rf /usr/share/dotnet/
sudo apt --fix-broken install -y
df -h
- uses: actions/setup-python@v5
name: Install Python
with:
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/tests_lqcpu_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,31 +44,6 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- name: Remove GH Action tooling
run: |
# Following instructions from Apache Flink
# https://github.com/apache/flink/blob/release-1.15/tools/azure-pipelines/free_disk_space.sh
echo "=============================================================================="
echo "Freeing up disk space on CI system"
echo "=============================================================================="
echo "Listing 100 largest packages"
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
df -h
echo "Removing large packages"
sudo apt-get remove -y '^dotnet.*'
sudo apt-get autoremove -y
sudo apt-get clean
df -h
echo "Removing large directories"
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk
sudo rm -rf /opt/hostedtoolcache/Ruby
sudo rm -rf /opt/hostedtoolcache/PyPy
sudo rm -rf /opt/hostedtoolcache/go
rm -rf /usr/share/dotnet/
sudo apt --fix-broken install -y
df -h
- uses: actions/setup-python@v5
name: Install Python
with:
Expand Down Expand Up @@ -147,31 +122,6 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- name: Remove GH Action tooling
run: |
# Following instructions from Apache Flink
# https://github.com/apache/flink/blob/release-1.15/tools/azure-pipelines/free_disk_space.sh
echo "=============================================================================="
echo "Freeing up disk space on CI system"
echo "=============================================================================="
echo "Listing 100 largest packages"
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
df -h
echo "Removing large packages"
sudo apt-get remove -y '^dotnet.*'
sudo apt-get autoremove -y
sudo apt-get clean
df -h
echo "Removing large directories"
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk
sudo rm -rf /opt/hostedtoolcache/Ruby
sudo rm -rf /opt/hostedtoolcache/PyPy
sudo rm -rf /opt/hostedtoolcache/go
rm -rf /usr/share/dotnet/
sudo apt --fix-broken install -y
df -h
- uses: actions/setup-python@v5
name: Install Python
with:
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/wheel_linux_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,31 +46,6 @@ jobs:
container: ${{ matrix.container_img }}

steps:
- name: Remove GH Action tooling
run: |
# Following instructions from Apache Flink
# https://github.com/apache/flink/blob/release-1.15/tools/azure-pipelines/free_disk_space.sh
echo "=============================================================================="
echo "Freeing up disk space on CI system"
echo "=============================================================================="
echo "Listing 100 largest packages"
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
df -h
echo "Removing large packages"
sudo apt-get remove -y '^dotnet.*'
sudo apt-get autoremove -y
sudo apt-get clean
df -h
echo "Removing large directories"
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk
sudo rm -rf /opt/hostedtoolcache/Ruby
sudo rm -rf /opt/hostedtoolcache/PyPy
sudo rm -rf /opt/hostedtoolcache/go
rm -rf /usr/share/dotnet/
sudo apt --fix-broken install -y
df -h
- name: Cache installation directories
id: kokkos-cache
uses: actions/cache@v3
Expand Down Expand Up @@ -132,31 +107,6 @@ jobs:
container: ${{ matrix.container_img }}

steps:
- name: Remove GH Action tooling
run: |
# Following instructions from Apache Flink
# https://github.com/apache/flink/blob/release-1.15/tools/azure-pipelines/free_disk_space.sh
echo "=============================================================================="
echo "Freeing up disk space on CI system"
echo "=============================================================================="
echo "Listing 100 largest packages"
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
df -h
echo "Removing large packages"
sudo apt-get remove -y '^dotnet.*'
sudo apt-get autoremove -y
sudo apt-get clean
df -h
echo "Removing large directories"
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk
sudo rm -rf /opt/hostedtoolcache/Ruby
sudo rm -rf /opt/hostedtoolcache/PyPy
sudo rm -rf /opt/hostedtoolcache/go
rm -rf /usr/share/dotnet/
sudo apt --fix-broken install -y
df -h
- name: Restoring cached dependencies
id: kokkos-cache
uses: actions/cache@v3
Expand Down

0 comments on commit 4d49be3

Please sign in to comment.