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:
parent
3509e210ce
commit
a5c2b1f3ad
9
.github/workflows/gen_ubuntu20.04.yml
vendored
9
.github/workflows/gen_ubuntu20.04.yml
vendored
@ -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
|
||||
|
13
.github/workflows/gen_ubuntu20.04_continuous.yml
vendored
13
.github/workflows/gen_ubuntu20.04_continuous.yml
vendored
@ -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"
|
||||
|
27
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
27
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
@ -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"
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user