Skip to content

Commit

Permalink
Merge branch 'wez:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
MLFlexer authored Oct 27, 2024
2 parents a05f37c + 9ddca7b commit 0d05a44
Show file tree
Hide file tree
Showing 148 changed files with 2,186 additions and 1,150 deletions.
41 changes: 39 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,44 @@ task:
cpu: 4
memory: 12G
environment:
GITHUB_TOKEN: ENCRYPTED[23bd9513fa7174e74eaddce6a3099cabb22118423591553b23518e8c34bf155e07c559838b1d3422f561c73c1e31e6fc]
GITHUB_TOKEN: ENCRYPTED[f20f769b749757fbdc3968320deea1c8e90f2bc2ff5f957bae4de0f022793f57400a5936fe8699bd732a231c9ed74be7]
FURY_TOKEN: ENCRYPTED[833e7ce9bfd87970b321dd621677f792a65f485b40819cad30258d3a1e1569f9cb4878a2958efecdf40a5050354edd54]

stateful: false
install_rust_script:
- echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
- apt update
- apt-get install -y git curl
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
install_gh_cli_script:
- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg > /usr/share/keyrings/githubcli-archive-keyring.gpg
- chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list
- apt update
- apt install gh -y
- gh --version
getdeps_script:
- env PATH=$HOME/.cargo/bin:$PATH bash get-deps
build_script:
- env PATH=$HOME/.cargo/bin:$PATH cargo build --release -p wezterm-gui -p wezterm -p wezterm-mux-server -p strip-ansi-escapes
- export BUILD_REASON="Schedule"
- export RELEASE="nightly"
- "test -n \"$CIRRUS_TAG\" && BUILD_REASON=\"tag\""
- "test -n \"$CIRRUS_TAG\" && RELEASE=$(ci/tag-name.sh)"
- "./ci/deploy.sh"
- "ls -l *.deb"
- "bash ci/retry.sh gh release upload --clobber ${RELEASE} *.deb"
- "for f in wezterm*.deb ; do curl -i -F package=@$f https://$FURY_TOKEN@push.fury.io/wez/ ; done"

task:
name: ubuntu-24.04-arm
only_if: "$CIRRUS_REPO_OWNER == 'wez' && changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock')"
arm_container:
image: ubuntu:24.04
cpu: 4
memory: 12G
environment:
GITHUB_TOKEN: ENCRYPTED[f20f769b749757fbdc3968320deea1c8e90f2bc2ff5f957bae4de0f022793f57400a5936fe8699bd732a231c9ed74be7]
FURY_TOKEN: ENCRYPTED[833e7ce9bfd87970b321dd621677f792a65f485b40819cad30258d3a1e1569f9cb4878a2958efecdf40a5050354edd54]

stateful: false
Expand Down Expand Up @@ -82,7 +119,7 @@ task:
cpu: 4
memory: 12G
environment:
GITHUB_TOKEN: ENCRYPTED[23bd9513fa7174e74eaddce6a3099cabb22118423591553b23518e8c34bf155e07c559838b1d3422f561c73c1e31e6fc]
GITHUB_TOKEN: ENCRYPTED[f20f769b749757fbdc3968320deea1c8e90f2bc2ff5f957bae4de0f022793f57400a5936fe8699bd732a231c9ed74be7]

stateful: false
install_rust_script:
Expand Down
11 changes: 1 addition & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,7 @@

version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
groups:
all:
patterns:
- "*"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
2 changes: 1 addition & 1 deletion .github/workflows/gen_centos9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "centos9"
path: "wezterm-*.rpm"
4 changes: 2 additions & 2 deletions .github/workflows/gen_centos9_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-centos9.rpm"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "centos9"
path: "wezterm-*.rpm"
Expand All @@ -123,7 +123,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "centos9"
- name: "Checksum"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gen_centos9_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "centos9"
path: "wezterm-*.rpm"
Expand All @@ -102,7 +102,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "centos9"
- name: "Checksum"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen_debian10.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
shell: bash
run: "bash ci/deploy.sh"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "debian10.3"
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gen_debian10.3_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
shell: bash
run: "bash ci/deploy.sh"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "debian10.3"
path: |
Expand All @@ -125,7 +125,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "debian10.3"
- name: "Checksum"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gen_debian10.3_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
shell: bash
run: "bash ci/deploy.sh"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "debian10.3"
path: |
Expand All @@ -104,7 +104,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "debian10.3"
- name: "Checksum"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen_debian11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
shell: bash
run: "bash ci/deploy.sh"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "debian11"
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gen_debian11_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
shell: bash
run: "bash ci/deploy.sh"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "debian11"
path: |
Expand All @@ -125,7 +125,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "debian11"
- name: "Checksum"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gen_debian11_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
shell: bash
run: "bash ci/deploy.sh"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "debian11"
path: |
Expand All @@ -104,7 +104,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "debian11"
- name: "Checksum"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen_debian12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
shell: bash
run: "bash ci/deploy.sh"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "debian12"
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gen_debian12_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
shell: bash
run: "bash ci/deploy.sh"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "debian12"
path: |
Expand All @@ -125,7 +125,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "debian12"
- name: "Checksum"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gen_debian12_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
shell: bash
run: "bash ci/deploy.sh"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "debian12"
path: |
Expand All @@ -104,7 +104,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "debian12"
- name: "Checksum"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen_fedora38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "fedora38"
path: "wezterm-*.rpm"
4 changes: 2 additions & 2 deletions .github/workflows/gen_fedora38_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora38.rpm"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "fedora38"
path: "wezterm-*.rpm"
Expand All @@ -120,7 +120,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "fedora38"
- name: "Checksum"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gen_fedora38_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "fedora38"
path: "wezterm-*.rpm"
Expand All @@ -99,7 +99,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "fedora38"
- name: "Checksum"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen_fedora39.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "fedora39"
path: "wezterm-*.rpm"
4 changes: 2 additions & 2 deletions .github/workflows/gen_fedora39_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora39.rpm"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "fedora39"
path: "wezterm-*.rpm"
Expand All @@ -120,7 +120,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "fedora39"
- name: "Checksum"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gen_fedora39_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "fedora39"
path: "wezterm-*.rpm"
Expand All @@ -99,7 +99,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "fedora39"
- name: "Checksum"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen_fedora40.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "fedora40"
path: "wezterm-*.rpm"
4 changes: 2 additions & 2 deletions .github/workflows/gen_fedora40_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora40.rpm"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "fedora40"
path: "wezterm-*.rpm"
Expand All @@ -120,7 +120,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "fedora40"
- name: "Checksum"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gen_fedora40_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "fedora40"
path: "wezterm-*.rpm"
Expand All @@ -99,7 +99,7 @@ jobs:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: "fedora40"
- name: "Checksum"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
shell: bash
run: "bash ci/deploy.sh"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "macos"
path: "WezTerm-*.zip"
Loading

0 comments on commit 0d05a44

Please sign in to comment.