diff options
author | RevoluPowered <gordon@gordonite.tech> | 2020-07-19 16:37:21 +0100 |
---|---|---|
committer | Gordon MacPherson <gordon@gordonite.tech> | 2020-07-20 09:51:12 +0200 |
commit | d560f654ffd855eb3ad66ad56e1327ffdedea938 (patch) | |
tree | 31482a7d26c668fffa0b747fa4fbf00f3b28a4c6 /.github/workflows/main.yml | |
parent | 9e34ba48556b71f1f672b5be47d12b0e3f679b86 (diff) |
fix CI builds on linux by using ubuntu default apt repositories
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index da597a9706..b93d8e1a76 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: |