diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-08-11 17:14:47 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-08-11 17:14:47 +0200 |
commit | cf2e0116d9a0ff09bba0553fe7b86f48fa82a23b (patch) | |
tree | 8534fe38c230ae6a068aa6de84e94372b4403521 | |
parent | 6a181efaf371ea3507bb957582af2e746eeb0d6b (diff) | |
download | redot-engine-cf2e0116d9a0ff09bba0553fe7b86f48fa82a23b.tar.gz |
CI: Properly exclude Azure repositories on Ubuntu
Nuke all the pre-defined repos, we just need stock Ubuntu.
-rw-r--r-- | .github/workflows/android_builds.yml | 1 | ||||
-rw-r--r-- | .github/workflows/javascript_builds.yml | 1 | ||||
-rw-r--r-- | .github/workflows/linux_builds.yml | 2 | ||||
-rw-r--r-- | .github/workflows/static_checks.yml | 8 |
4 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/android_builds.yml b/.github/workflows/android_builds.yml index c591b4bb39..6b16c10b3e 100644 --- a/.github/workflows/android_builds.yml +++ b/.github/workflows/android_builds.yml @@ -18,6 +18,7 @@ jobs: # Azure repositories are not reliable, we need to prevent azure giving us packages. - name: Make apt sources.list use the default Ubuntu repositories run: | + sudo rm -f /etc/apt/sources.list.d/* sudo cp -f misc/ci/sources.list /etc/apt/sources.list sudo apt-get update diff --git a/.github/workflows/javascript_builds.yml b/.github/workflows/javascript_builds.yml index 421906c77f..09c4c41d53 100644 --- a/.github/workflows/javascript_builds.yml +++ b/.github/workflows/javascript_builds.yml @@ -19,6 +19,7 @@ jobs: # Azure repositories are not reliable, we need to prevent azure giving us packages. - name: Make apt sources.list use the default Ubuntu repositories run: | + sudo rm -f /etc/apt/sources.list.d/* sudo cp -f misc/ci/sources.list /etc/apt/sources.list sudo apt-get update diff --git a/.github/workflows/linux_builds.yml b/.github/workflows/linux_builds.yml index 198727b30e..85ae6a5a8f 100644 --- a/.github/workflows/linux_builds.yml +++ b/.github/workflows/linux_builds.yml @@ -17,6 +17,7 @@ jobs: # Azure repositories are not reliable, we need to prevent azure giving us packages. - name: Make apt sources.list use the default Ubuntu repositories run: | + sudo rm -f /etc/apt/sources.list.d/* sudo cp -f misc/ci/sources.list /etc/apt/sources.list sudo apt-get update @@ -77,6 +78,7 @@ jobs: # Azure repositories are not reliable, we need to prevent azure giving us packages. - name: Make apt sources.list use the default Ubuntu repositories run: | + sudo rm -f /etc/apt/sources.list.d/* sudo cp -f misc/ci/sources.list /etc/apt/sources.list sudo apt-get update diff --git a/.github/workflows/static_checks.yml b/.github/workflows/static_checks.yml index 2a7a4e6625..ee01dba2ba 100644 --- a/.github/workflows/static_checks.yml +++ b/.github/workflows/static_checks.yml @@ -9,9 +9,15 @@ jobs: - name: Checkout uses: actions/checkout@v2 + # Azure repositories are not reliable, we need to prevent azure giving us packages. + - name: Make apt sources.list use the default Ubuntu repositories + run: | + sudo rm -f /etc/apt/sources.list.d/* + sudo cp -f misc/ci/sources.list /etc/apt/sources.list + sudo apt-get update + - name: Install dependencies run: | - sudo apt-get update -qq sudo apt-get install -qq dos2unix recode clang-format sudo pip3 install git+https://github.com/psf/black@master pygments |