1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 15:04:36 +03:00

ci: skip apt update for ubuntu 19.10

It's been failing for the past day
This commit is contained in:
Wez Furlong 2020-12-10 19:44:49 -08:00
parent 421155e44e
commit 02240891d3
4 changed files with 7 additions and 17 deletions

View File

@ -20,9 +20,6 @@ jobs:
- name: "set APT to non-interactive"
shell: bash
run: "echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections"
- name: "Update APT"
shell: bash
run: "apt update"
- name: "Install git"
shell: bash
run: "apt-get install -y git"

View File

@ -20,13 +20,6 @@ jobs:
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
- name: "Update APT"
shell: bash
run: |
export BUILD_REASON=Schedule
apt update
- name: "Install git"
shell: bash
run: |

View File

@ -17,9 +17,6 @@ jobs:
- name: "set APT to non-interactive"
shell: bash
run: "echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections"
- name: "Update APT"
shell: bash
run: "apt update"
- name: "Install git"
shell: bash
run: "apt-get install -y git"

View File

@ -102,6 +102,7 @@ class Target(object):
rust_target=None,
continuous_only=False,
app_image=False,
skip_apt_update=False,
):
if not name:
if container:
@ -115,6 +116,7 @@ class Target(object):
self.rust_target = rust_target
self.continuous_only = continuous_only
self.app_image = app_image
self.skip_apt_update = skip_apt_update
def uses_yum(self):
if "fedora" in self.name:
@ -430,9 +432,10 @@ cargo build --all --release""",
),
]
sudo = "sudo -n " if self.needs_sudo() else ""
steps += [
RunStep("Update APT", f"{sudo}apt update"),
]
if not self.skip_apt_update:
steps += [
RunStep("Update APT", f"{sudo}apt update"),
]
if self.container:
if self.container == "centos:8":
steps += [
@ -511,7 +514,7 @@ cargo build --all --release""",
TARGETS = [
Target(name="ubuntu:16", os="ubuntu-16.04", app_image=True),
Target(name="ubuntu:18", os="ubuntu-18.04", continuous_only=True),
Target(container="ubuntu:19.10", continuous_only=True),
Target(container="ubuntu:19.10", continuous_only=True, skip_apt_update=True),
# The container gets stuck while running get-deps, so disable for now
Target(container="ubuntu:20.04", continuous_only=True),
# debian 8's wayland libraries are too old for wayland-client