summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-08-11 17:14:47 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-08-11 17:14:47 +0200
commitcf2e0116d9a0ff09bba0553fe7b86f48fa82a23b (patch)
tree8534fe38c230ae6a068aa6de84e94372b4403521
parent6a181efaf371ea3507bb957582af2e746eeb0d6b (diff)
downloadredot-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.yml1
-rw-r--r--.github/workflows/javascript_builds.yml1
-rw-r--r--.github/workflows/linux_builds.yml2
-rw-r--r--.github/workflows/static_checks.yml8
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