mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 21:32:13 +03:00
Rebase and re-apply openssh-server addition to CIs
This commit is contained in:
parent
072bb1c470
commit
68fd2035cd
3
.github/workflows/gen_centos7.yml
vendored
3
.github/workflows/gen_centos7.yml
vendored
@ -45,6 +45,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "yum install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "yum install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
5
.github/workflows/gen_centos7_continuous.yml
vendored
5
.github/workflows/gen_centos7_continuous.yml
vendored
@ -54,6 +54,11 @@ jobs:
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
yum install -y curl
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
yum install -y openssh-server
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_centos7_tag.yml
vendored
3
.github/workflows/gen_centos7_tag.yml
vendored
@ -36,6 +36,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "yum install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "yum install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_centos8.yml
vendored
3
.github/workflows/gen_centos8.yml
vendored
@ -31,6 +31,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "yum install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "yum install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
5
.github/workflows/gen_centos8_continuous.yml
vendored
5
.github/workflows/gen_centos8_continuous.yml
vendored
@ -41,6 +41,11 @@ jobs:
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
yum install -y curl
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
yum install -y openssh-server
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_centos8_tag.yml
vendored
3
.github/workflows/gen_centos8_tag.yml
vendored
@ -22,6 +22,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "yum install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "yum install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_debian10.3.yml
vendored
3
.github/workflows/gen_debian10.3.yml
vendored
@ -31,6 +31,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apt-get install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "apt-get install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -41,6 +41,11 @@ jobs:
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
apt-get install -y curl
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
apt-get install -y openssh-server
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_debian10.3_tag.yml
vendored
3
.github/workflows/gen_debian10.3_tag.yml
vendored
@ -22,6 +22,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apt-get install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "apt-get install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_debian11.yml
vendored
3
.github/workflows/gen_debian11.yml
vendored
@ -31,6 +31,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apt-get install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "apt-get install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -41,6 +41,11 @@ jobs:
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
apt-get install -y curl
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
apt-get install -y openssh-server
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_debian11_tag.yml
vendored
3
.github/workflows/gen_debian11_tag.yml
vendored
@ -22,6 +22,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apt-get install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "apt-get install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_debian9.12.yml
vendored
3
.github/workflows/gen_debian9.12.yml
vendored
@ -45,6 +45,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apt-get install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "apt-get install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -54,6 +54,11 @@ jobs:
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
apt-get install -y curl
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
apt-get install -y openssh-server
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_debian9.12_tag.yml
vendored
3
.github/workflows/gen_debian9.12_tag.yml
vendored
@ -36,6 +36,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apt-get install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "apt-get install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_fedora33.yml
vendored
3
.github/workflows/gen_fedora33.yml
vendored
@ -25,6 +25,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "yum install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "yum install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -31,6 +31,11 @@ jobs:
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
yum install -y curl
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
yum install -y openssh-server
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_fedora33_tag.yml
vendored
3
.github/workflows/gen_fedora33_tag.yml
vendored
@ -16,6 +16,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "yum install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "yum install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_fedora34.yml
vendored
3
.github/workflows/gen_fedora34.yml
vendored
@ -25,6 +25,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "yum install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "yum install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -31,6 +31,11 @@ jobs:
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
yum install -y curl
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
yum install -y openssh-server
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_fedora34_tag.yml
vendored
3
.github/workflows/gen_fedora34_tag.yml
vendored
@ -16,6 +16,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "yum install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "yum install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_ubuntu20.04.yml
vendored
3
.github/workflows/gen_ubuntu20.04.yml
vendored
@ -31,6 +31,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apt-get install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "apt-get install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -41,6 +41,11 @@ jobs:
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
apt-get install -y curl
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
apt-get install -y openssh-server
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
3
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
3
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
@ -22,6 +22,9 @@ jobs:
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apt-get install -y curl"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "apt-get install -y openssh-server"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -160,6 +160,11 @@ class Target(object):
|
||||
return self.install_system_package("curl")
|
||||
return []
|
||||
|
||||
def install_openssh_server(self):
|
||||
if self.uses_yum() or (self.uses_apt() and self.container):
|
||||
return self.install_system_package("openssh-server")
|
||||
return []
|
||||
|
||||
def install_newer_compiler(self):
|
||||
steps = []
|
||||
if self.name == "centos7":
|
||||
@ -493,6 +498,7 @@ cargo build --all --release""",
|
||||
steps += self.install_newer_compiler()
|
||||
steps += self.install_git()
|
||||
steps += self.install_curl()
|
||||
steps += self.install_openssh_server()
|
||||
steps += [
|
||||
CheckoutStep(),
|
||||
# We need tags in order to use git describe for build/packaging
|
||||
|
Loading…
Reference in New Issue
Block a user