1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-17 17:57:28 +03:00

ci: generate appimage from ubuntu20

We were doing this from 18, but with 18 on its way out on GH actions,
bump it up.
This commit is contained in:
Wez Furlong 2023-02-12 10:31:06 -07:00
parent 3509e210ce
commit a5c2b1f3ad
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387
4 changed files with 46 additions and 5 deletions

View File

@ -80,6 +80,12 @@ jobs:
- name: "Package"
shell: bash
run: "bash ci/deploy.sh"
- name: "Source Tarball"
shell: bash
run: "bash ci/source-archive.sh"
- name: "Build AppImage"
shell: bash
run: "bash ci/appimage.sh"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
@ -87,3 +93,6 @@ jobs:
path: |
wezterm-*.deb
wezterm-*.xz
*src.tar.gz
*.AppImage
*.zsync

View File

@ -84,6 +84,12 @@ jobs:
- name: "Package"
shell: bash
run: "bash ci/deploy.sh"
- name: "Source Tarball"
shell: bash
run: "bash ci/source-archive.sh"
- name: "Build AppImage"
shell: bash
run: "bash ci/appimage.sh"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
@ -91,6 +97,9 @@ jobs:
path: |
wezterm-*.deb
wezterm-*.xz
*src.tar.gz
*.AppImage
*.zsync
retention-days: 5
upload:
@ -109,9 +118,9 @@ jobs:
name: "ubuntu20.04"
- name: "Checksum"
shell: bash
run: "for f in wezterm-*.deb wezterm-*.xz ; do sha256sum $f > $f.sha256 ; done"
run: "for f in wezterm-*.deb wezterm-*.xz *src.tar.gz *.AppImage *.zsync ; do sha256sum $f > $f.sha256 ; done"
- name: "Upload to Nightly Release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: "bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz *.sha256"
run: "bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz *src.tar.gz *.AppImage *.zsync *.sha256"

View File

@ -68,6 +68,12 @@ jobs:
- name: "Package"
shell: bash
run: "bash ci/deploy.sh"
- name: "Source Tarball"
shell: bash
run: "bash ci/source-archive.sh"
- name: "Build AppImage"
shell: bash
run: "bash ci/appimage.sh"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
@ -75,6 +81,23 @@ jobs:
path: |
wezterm-*.deb
wezterm-*.xz
*src.tar.gz
*.AppImage
*.zsync
- name: "Checkout linuxbrew tap"
uses: actions/checkout@v3
with:
repository: "wez/homebrew-wezterm-linuxbrew"
path: "linuxbrew-wezterm"
token: "${{ secrets.GH_PAT }}"
- name: "Update linuxbrew tap formula"
shell: bash
run: "cp wezterm-linuxbrew.rb linuxbrew-wezterm/Formula/wezterm.rb"
- name: "Commit linuxbrew tap changes"
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Automated update to match latest tag"
repository: "linuxbrew-wezterm"
upload:
runs-on: ubuntu-latest
@ -92,7 +115,7 @@ jobs:
name: "ubuntu20.04"
- name: "Checksum"
shell: bash
run: "for f in wezterm-*.deb wezterm-*.xz ; do sha256sum $f > $f.sha256 ; done"
run: "for f in wezterm-*.deb wezterm-*.xz *src.tar.gz *.AppImage *.zsync ; do sha256sum $f > $f.sha256 ; done"
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -102,4 +125,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.deb wezterm-*.xz *.sha256"
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.deb wezterm-*.xz *src.tar.gz *.AppImage *.zsync *.sha256"

View File

@ -825,7 +825,7 @@ cargo build --all --release""",
TARGETS = [
Target(container="ubuntu:20.04", continuous_only=True),
Target(container="ubuntu:20.04", continuous_only=True, app_image=True),
Target(container="ubuntu:22.04", continuous_only=True),
# debian 8's wayland libraries are too old for wayland-client
# Target(container="debian:8.11", continuous_only=True, bootstrap_git=True),