fix CI builds on linux by using ubuntu default apt repositories

This commit is contained in:
RevoluPowered 2020-07-19 16:37:21 +01:00 committed by Gordon MacPherson
parent 9e34ba4855
commit d560f654ff
2 changed files with 20 additions and 4 deletions

View File

@ -87,7 +87,7 @@ jobs:
${{runner.os}}-template
${{runner.os}}
# Use python 3.x release (works cross platform)
# Use python 3.x release (works cross platform)
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
@ -216,7 +216,13 @@ jobs:
steps:
- uses: actions/checkout@v2
# install all packages (except scons)
# 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 cp -f misc/scripts/sources.list /etc/apt/sources.list
sudo apt-get update
# Install all packages (except scons)
- name: Configure dependencies
run: |
sudo apt-get install build-essential pkg-config libx11-dev libxcursor-dev \
@ -267,7 +273,13 @@ jobs:
steps:
- uses: actions/checkout@v2
# install all packages (except scons)
# 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 cp -f misc/scripts/sources.list /etc/apt/sources.list
sudo apt-get update
# Install all packages (except scons)
- name: Configure dependencies
run: |
sudo apt-get install build-essential pkg-config libx11-dev libxcursor-dev \
@ -287,7 +299,7 @@ jobs:
${{runner.os}}-template
${{runner.os}}
# Use python 3.x release (works cross platform)
# Use python 3.x release (works cross platform)
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:

View File

@ -0,0 +1,4 @@
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse