ci: use newer ubuntu26 target for flatpak/linuxbrew/appimage packaging
This commit is contained in:
1 parent
db4652c935
commit
92cd0e0863
7 files changed
+98
-97
No files matched your search
@@ -18,10 +18,7 @@ on:
|
||||
- "assets/wezterm-nautilus.py"
|
||||
- "assets/wezterm.appdata.xml"
|
||||
- "assets/wezterm.desktop"
|
||||
- "ci/appimage.sh"
|
||||
- "ci/appstreamcli"
|
||||
- "ci/deploy.sh"
|
||||
- "ci/source-archive.sh"
|
||||
- "ci/tag-name.sh"
|
||||
- "get-deps"
|
||||
- "termwiz/data/wezterm.terminfo"
|
||||
@@ -29,9 +26,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container:
|
||||
image: "ubuntu:24.04"
|
||||
options: --privileged
|
||||
container: "ubuntu:24.04"
|
||||
env:
|
||||
CARGO_INCREMENTAL: "0"
|
||||
SCCACHE_GHA_ENABLED: "true"
|
||||
@@ -108,18 +103,6 @@ jobs:
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Install libfuse2"
|
||||
shell: bash
|
||||
run: "apt-get install -y libfuse2"
|
||||
- name: "Install file"
|
||||
shell: bash
|
||||
run: "apt-get install -y file"
|
||||
- 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@v7
|
||||
with:
|
||||
@@ -127,5 +110,3 @@ jobs:
|
||||
path: |
|
||||
wezterm-*.deb
|
||||
wezterm-*.xz
|
||||
*src.tar.gz
|
||||
*.AppImage
|
||||
@@ -20,10 +20,7 @@ on:
|
||||
- "assets/wezterm-nautilus.py"
|
||||
- "assets/wezterm.appdata.xml"
|
||||
- "assets/wezterm.desktop"
|
||||
- "ci/appimage.sh"
|
||||
- "ci/appstreamcli"
|
||||
- "ci/deploy.sh"
|
||||
- "ci/source-archive.sh"
|
||||
- "ci/tag-name.sh"
|
||||
- "get-deps"
|
||||
- "termwiz/data/wezterm.terminfo"
|
||||
@@ -31,9 +28,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container:
|
||||
image: "ubuntu:24.04"
|
||||
options: --privileged
|
||||
container: "ubuntu:24.04"
|
||||
env:
|
||||
BUILD_REASON: "Schedule"
|
||||
CARGO_INCREMENTAL: "0"
|
||||
@@ -111,18 +106,6 @@ jobs:
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Install libfuse2"
|
||||
shell: bash
|
||||
run: "apt-get install -y libfuse2"
|
||||
- name: "Install file"
|
||||
shell: bash
|
||||
run: "apt-get install -y file"
|
||||
- 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@v7
|
||||
with:
|
||||
@@ -130,8 +113,6 @@ jobs:
|
||||
path: |
|
||||
wezterm-*.deb
|
||||
wezterm-*.xz
|
||||
*src.tar.gz
|
||||
*.AppImage
|
||||
retention-days: 5
|
||||
|
||||
upload:
|
||||
@@ -155,9 +136,9 @@ jobs:
|
||||
name: "ubuntu24.04"
|
||||
- name: "Checksum"
|
||||
shell: bash
|
||||
run: "for f in wezterm-*.deb wezterm-*.xz *src.tar.gz *.AppImage ; do sha256sum $f > $f.sha256 ; done"
|
||||
run: "for f in wezterm-*.deb wezterm-*.xz ; 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 *src.tar.gz *.AppImage *.sha256"
|
||||
run: "bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz *.sha256"
|
||||
@@ -8,9 +8,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container:
|
||||
image: "ubuntu:24.04"
|
||||
options: --privileged
|
||||
container: "ubuntu:24.04"
|
||||
env:
|
||||
CARGO_INCREMENTAL: "0"
|
||||
SCCACHE_GHA_ENABLED: "true"
|
||||
@@ -87,18 +85,6 @@ jobs:
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Install libfuse2"
|
||||
shell: bash
|
||||
run: "apt-get install -y libfuse2"
|
||||
- name: "Install file"
|
||||
shell: bash
|
||||
run: "apt-get install -y file"
|
||||
- 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@v7
|
||||
with:
|
||||
@@ -106,8 +92,6 @@ jobs:
|
||||
path: |
|
||||
wezterm-*.deb
|
||||
wezterm-*.xz
|
||||
*src.tar.gz
|
||||
*.AppImage
|
||||
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -124,27 +108,13 @@ jobs:
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v5
|
||||
- name: "Checkout linuxbrew tap"
|
||||
uses: actions/checkout@v5
|
||||
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@v5
|
||||
with:
|
||||
commit_message: "Automated update to match latest tag"
|
||||
repository: "linuxbrew-wezterm"
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: "ubuntu24.04"
|
||||
- name: "Checksum"
|
||||
shell: bash
|
||||
run: "for f in wezterm-*.deb wezterm-*.xz *src.tar.gz *.AppImage ; do sha256sum $f > $f.sha256 ; done"
|
||||
run: "for f in wezterm-*.deb wezterm-*.xz ; do sha256sum $f > $f.sha256 ; done"
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -154,18 +124,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 *src.tar.gz *.AppImage *.sha256"
|
||||
- name: "Checkout flathub/org.wezfurlong.wezterm"
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
repository: "flathub/org.wezfurlong.wezterm"
|
||||
path: "flathub"
|
||||
token: "${{ secrets.GH_PAT }}"
|
||||
- name: "Create flathub commit and push"
|
||||
shell: bash
|
||||
run: "bash ci/make-flathub-pr.sh"
|
||||
- name: "Submit PR"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
|
||||
shell: bash
|
||||
run: 'cd flathub && gh pr create --fill --body "PR automatically created by release automation in the wezterm repo"'
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.deb wezterm-*.xz *.sha256"
|
||||
@@ -18,7 +18,10 @@ on:
|
||||
- "assets/wezterm-nautilus.py"
|
||||
- "assets/wezterm.appdata.xml"
|
||||
- "assets/wezterm.desktop"
|
||||
- "ci/appimage.sh"
|
||||
- "ci/appstreamcli"
|
||||
- "ci/deploy.sh"
|
||||
- "ci/source-archive.sh"
|
||||
- "ci/tag-name.sh"
|
||||
- "get-deps"
|
||||
- "termwiz/data/wezterm.terminfo"
|
||||
@@ -26,7 +29,9 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "ubuntu:26.04"
|
||||
container:
|
||||
image: "ubuntu:26.04"
|
||||
options: --privileged
|
||||
env:
|
||||
CARGO_INCREMENTAL: "0"
|
||||
SCCACHE_GHA_ENABLED: "true"
|
||||
@@ -103,6 +108,18 @@ jobs:
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Install libfuse2"
|
||||
shell: bash
|
||||
run: "apt-get install -y libfuse2"
|
||||
- name: "Install file"
|
||||
shell: bash
|
||||
run: "apt-get install -y file"
|
||||
- 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@v7
|
||||
with:
|
||||
@@ -110,3 +127,5 @@ jobs:
|
||||
path: |
|
||||
wezterm-*.deb
|
||||
wezterm-*.xz
|
||||
*src.tar.gz
|
||||
*.AppImage
|
||||
@@ -20,7 +20,10 @@ on:
|
||||
- "assets/wezterm-nautilus.py"
|
||||
- "assets/wezterm.appdata.xml"
|
||||
- "assets/wezterm.desktop"
|
||||
- "ci/appimage.sh"
|
||||
- "ci/appstreamcli"
|
||||
- "ci/deploy.sh"
|
||||
- "ci/source-archive.sh"
|
||||
- "ci/tag-name.sh"
|
||||
- "get-deps"
|
||||
- "termwiz/data/wezterm.terminfo"
|
||||
@@ -28,7 +31,9 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "ubuntu:26.04"
|
||||
container:
|
||||
image: "ubuntu:26.04"
|
||||
options: --privileged
|
||||
env:
|
||||
BUILD_REASON: "Schedule"
|
||||
CARGO_INCREMENTAL: "0"
|
||||
@@ -106,6 +111,18 @@ jobs:
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Install libfuse2"
|
||||
shell: bash
|
||||
run: "apt-get install -y libfuse2"
|
||||
- name: "Install file"
|
||||
shell: bash
|
||||
run: "apt-get install -y file"
|
||||
- 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@v7
|
||||
with:
|
||||
@@ -113,6 +130,8 @@ jobs:
|
||||
path: |
|
||||
wezterm-*.deb
|
||||
wezterm-*.xz
|
||||
*src.tar.gz
|
||||
*.AppImage
|
||||
retention-days: 5
|
||||
|
||||
upload:
|
||||
@@ -136,9 +155,9 @@ jobs:
|
||||
name: "ubuntu26.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 ; 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 *.sha256"
|
||||
@@ -8,7 +8,9 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "ubuntu:26.04"
|
||||
container:
|
||||
image: "ubuntu:26.04"
|
||||
options: --privileged
|
||||
env:
|
||||
CARGO_INCREMENTAL: "0"
|
||||
SCCACHE_GHA_ENABLED: "true"
|
||||
@@ -85,6 +87,18 @@ jobs:
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Install libfuse2"
|
||||
shell: bash
|
||||
run: "apt-get install -y libfuse2"
|
||||
- name: "Install file"
|
||||
shell: bash
|
||||
run: "apt-get install -y file"
|
||||
- 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@v7
|
||||
with:
|
||||
@@ -92,6 +106,8 @@ jobs:
|
||||
path: |
|
||||
wezterm-*.deb
|
||||
wezterm-*.xz
|
||||
*src.tar.gz
|
||||
*.AppImage
|
||||
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -108,13 +124,27 @@ jobs:
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v5
|
||||
- name: "Checkout linuxbrew tap"
|
||||
uses: actions/checkout@v5
|
||||
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@v5
|
||||
with:
|
||||
commit_message: "Automated update to match latest tag"
|
||||
repository: "linuxbrew-wezterm"
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: "ubuntu26.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 ; do sha256sum $f > $f.sha256 ; done"
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -124,4 +154,18 @@ 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 *.sha256"
|
||||
- name: "Checkout flathub/org.wezfurlong.wezterm"
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
repository: "flathub/org.wezfurlong.wezterm"
|
||||
path: "flathub"
|
||||
token: "${{ secrets.GH_PAT }}"
|
||||
- name: "Create flathub commit and push"
|
||||
shell: bash
|
||||
run: "bash ci/make-flathub-pr.sh"
|
||||
- name: "Submit PR"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
|
||||
shell: bash
|
||||
run: 'cd flathub && gh pr create --fill --body "PR automatically created by release automation in the wezterm repo"'
|
||||
@@ -7,7 +7,8 @@ from copy import deepcopy
|
||||
# The build from this target will be pushed to the gemfury APT repo
|
||||
GEMFURY_TARGET = "ubuntu:22.04"
|
||||
# The build from this target will be baked into the AppImage
|
||||
APPIMAGE_TARGET = "ubuntu:24.04"
|
||||
# This target is also used for updating the flathub & linuxbrew repos
|
||||
APPIMAGE_TARGET = "ubuntu:26.04"
|
||||
|
||||
TRIGGER_PATHS = [
|
||||
"**/*.rs",
|
||||
|
||||
Reference in new issue
Block a user