ci: remove some builds
GH actions has been awful slow and bogged down recently, getting in the way of work that is more important. This commit removes a variety of alpine builds (which are not widely used by wezterm users), and the eldest fedora version to free up some resources.
This commit is contained in:
14 files changed
+11
-1316
No files matched your search
@@ -1,100 +0,0 @@
|
||||
name: alpine3.12
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "**/*.rs"
|
||||
- "**/Cargo.lock"
|
||||
- "**/Cargo.toml"
|
||||
- ".github/workflows/gen_alpine3.12.yml"
|
||||
- "assets/fonts/**/*"
|
||||
- "assets/icon/*"
|
||||
- "assets/open-wezterm-here"
|
||||
- "assets/shell-completion/**/*"
|
||||
- "assets/shell-integration/**/*"
|
||||
- "assets/wezterm-nautilus.py"
|
||||
- "assets/wezterm.appdata.xml"
|
||||
- "assets/wezterm.desktop"
|
||||
- "ci/deploy.sh"
|
||||
- "get-deps"
|
||||
- "tag-name.sh"
|
||||
- "termwiz/data/wezterm.terminfo"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "alpine:3.12"
|
||||
env:
|
||||
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||
|
||||
steps:
|
||||
- name: "Upgrade system"
|
||||
shell: sh
|
||||
run: "apk upgrade --update-cache"
|
||||
- name: "Install CI dependencies"
|
||||
shell: sh
|
||||
run: "apk add nodejs zstd wget bash coreutils tar findutils"
|
||||
- name: "Allow root login"
|
||||
shell: bash
|
||||
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
|
||||
- name: "Install git"
|
||||
shell: bash
|
||||
run: "apk add git"
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apk add curl"
|
||||
- name: "Install openssh"
|
||||
shell: bash
|
||||
run: "apk add openssh"
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: "alpine3.12-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
- name: "Test (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo test --all --release"
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.12-/')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
- name: "Move APK keys"
|
||||
shell: bash
|
||||
run: "mv ~/.abuild/*.pub wezterm-alpine3.12.pub"
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: "alpine3.12"
|
||||
path: "wezterm-*.apk"
|
||||
@@ -1,121 +0,0 @@
|
||||
name: alpine3.12_continuous
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "10 3 * * *"
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "**/*.rs"
|
||||
- "**/Cargo.lock"
|
||||
- "**/Cargo.toml"
|
||||
- ".github/workflows/gen_alpine3.12_continuous.yml"
|
||||
- "assets/fonts/**/*"
|
||||
- "assets/icon/*"
|
||||
- "assets/open-wezterm-here"
|
||||
- "assets/shell-completion/**/*"
|
||||
- "assets/shell-integration/**/*"
|
||||
- "assets/wezterm-nautilus.py"
|
||||
- "assets/wezterm.appdata.xml"
|
||||
- "assets/wezterm.desktop"
|
||||
- "ci/deploy.sh"
|
||||
- "get-deps"
|
||||
- "tag-name.sh"
|
||||
- "termwiz/data/wezterm.terminfo"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "alpine:3.12"
|
||||
env:
|
||||
BUILD_REASON: "Schedule"
|
||||
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||
|
||||
steps:
|
||||
- name: "Upgrade system"
|
||||
shell: sh
|
||||
run: "apk upgrade --update-cache"
|
||||
- name: "Install CI dependencies"
|
||||
shell: sh
|
||||
run: "apk add nodejs zstd wget bash coreutils tar findutils"
|
||||
- name: "Allow root login"
|
||||
shell: bash
|
||||
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
|
||||
- name: "Install git"
|
||||
shell: bash
|
||||
run: "apk add git"
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apk add curl"
|
||||
- name: "Install openssh"
|
||||
shell: bash
|
||||
run: "apk add openssh"
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: "alpine3.12-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
- name: "Test (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo test --all --release"
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk wezterm-nightly-alpine3.12.apk"
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: "alpine3.12"
|
||||
path: "wezterm-*.apk"
|
||||
retention-days: 5
|
||||
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: "alpine3.12"
|
||||
- name: "Checksum"
|
||||
shell: bash
|
||||
run: "for f in wezterm-*.apk ; 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-*.apk *.sha256"
|
||||
@@ -1,113 +0,0 @@
|
||||
name: alpine3.12_tag
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "20*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "alpine:3.12"
|
||||
env:
|
||||
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||
|
||||
steps:
|
||||
- name: "Upgrade system"
|
||||
shell: sh
|
||||
run: "apk upgrade --update-cache"
|
||||
- name: "Install CI dependencies"
|
||||
shell: sh
|
||||
run: "apk add nodejs zstd wget bash coreutils tar findutils"
|
||||
- name: "Allow root login"
|
||||
shell: bash
|
||||
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
|
||||
- name: "Install git"
|
||||
shell: bash
|
||||
run: "apk add git"
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apk add curl"
|
||||
- name: "Install openssh"
|
||||
shell: bash
|
||||
run: "apk add openssh"
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: "alpine3.12-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
- name: "Test (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo test --all --release"
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.12-/')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
- name: "Move APK keys"
|
||||
shell: bash
|
||||
run: "mv ~/.abuild/*.pub wezterm-alpine3.12.pub"
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: "alpine3.12"
|
||||
path: |
|
||||
wezterm-*.apk
|
||||
*.pub
|
||||
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: "alpine3.12"
|
||||
- name: "Checksum"
|
||||
shell: bash
|
||||
run: "for f in wezterm-*.apk *.pub ; do sha256sum $f > $f.sha256 ; done"
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.apk *.pub *.sha256"
|
||||
@@ -1,100 +0,0 @@
|
||||
name: alpine3.13
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "**/*.rs"
|
||||
- "**/Cargo.lock"
|
||||
- "**/Cargo.toml"
|
||||
- ".github/workflows/gen_alpine3.13.yml"
|
||||
- "assets/fonts/**/*"
|
||||
- "assets/icon/*"
|
||||
- "assets/open-wezterm-here"
|
||||
- "assets/shell-completion/**/*"
|
||||
- "assets/shell-integration/**/*"
|
||||
- "assets/wezterm-nautilus.py"
|
||||
- "assets/wezterm.appdata.xml"
|
||||
- "assets/wezterm.desktop"
|
||||
- "ci/deploy.sh"
|
||||
- "get-deps"
|
||||
- "tag-name.sh"
|
||||
- "termwiz/data/wezterm.terminfo"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "alpine:3.13"
|
||||
env:
|
||||
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||
|
||||
steps:
|
||||
- name: "Upgrade system"
|
||||
shell: sh
|
||||
run: "apk upgrade --update-cache"
|
||||
- name: "Install CI dependencies"
|
||||
shell: sh
|
||||
run: "apk add nodejs zstd wget bash coreutils tar findutils"
|
||||
- name: "Allow root login"
|
||||
shell: bash
|
||||
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
|
||||
- name: "Install git"
|
||||
shell: bash
|
||||
run: "apk add git"
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apk add curl"
|
||||
- name: "Install openssh"
|
||||
shell: bash
|
||||
run: "apk add openssh"
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: "alpine3.13-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
- name: "Test (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo test --all --release"
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.13-/')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
- name: "Move APK keys"
|
||||
shell: bash
|
||||
run: "mv ~/.abuild/*.pub wezterm-alpine3.13.pub"
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: "alpine3.13"
|
||||
path: "wezterm-*.apk"
|
||||
@@ -1,121 +0,0 @@
|
||||
name: alpine3.13_continuous
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "10 3 * * *"
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "**/*.rs"
|
||||
- "**/Cargo.lock"
|
||||
- "**/Cargo.toml"
|
||||
- ".github/workflows/gen_alpine3.13_continuous.yml"
|
||||
- "assets/fonts/**/*"
|
||||
- "assets/icon/*"
|
||||
- "assets/open-wezterm-here"
|
||||
- "assets/shell-completion/**/*"
|
||||
- "assets/shell-integration/**/*"
|
||||
- "assets/wezterm-nautilus.py"
|
||||
- "assets/wezterm.appdata.xml"
|
||||
- "assets/wezterm.desktop"
|
||||
- "ci/deploy.sh"
|
||||
- "get-deps"
|
||||
- "tag-name.sh"
|
||||
- "termwiz/data/wezterm.terminfo"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "alpine:3.13"
|
||||
env:
|
||||
BUILD_REASON: "Schedule"
|
||||
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||
|
||||
steps:
|
||||
- name: "Upgrade system"
|
||||
shell: sh
|
||||
run: "apk upgrade --update-cache"
|
||||
- name: "Install CI dependencies"
|
||||
shell: sh
|
||||
run: "apk add nodejs zstd wget bash coreutils tar findutils"
|
||||
- name: "Allow root login"
|
||||
shell: bash
|
||||
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
|
||||
- name: "Install git"
|
||||
shell: bash
|
||||
run: "apk add git"
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apk add curl"
|
||||
- name: "Install openssh"
|
||||
shell: bash
|
||||
run: "apk add openssh"
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: "alpine3.13-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
- name: "Test (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo test --all --release"
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk wezterm-nightly-alpine3.13.apk"
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: "alpine3.13"
|
||||
path: "wezterm-*.apk"
|
||||
retention-days: 5
|
||||
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: "alpine3.13"
|
||||
- name: "Checksum"
|
||||
shell: bash
|
||||
run: "for f in wezterm-*.apk ; 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-*.apk *.sha256"
|
||||
@@ -1,113 +0,0 @@
|
||||
name: alpine3.13_tag
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "20*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "alpine:3.13"
|
||||
env:
|
||||
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||
|
||||
steps:
|
||||
- name: "Upgrade system"
|
||||
shell: sh
|
||||
run: "apk upgrade --update-cache"
|
||||
- name: "Install CI dependencies"
|
||||
shell: sh
|
||||
run: "apk add nodejs zstd wget bash coreutils tar findutils"
|
||||
- name: "Allow root login"
|
||||
shell: bash
|
||||
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
|
||||
- name: "Install git"
|
||||
shell: bash
|
||||
run: "apk add git"
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apk add curl"
|
||||
- name: "Install openssh"
|
||||
shell: bash
|
||||
run: "apk add openssh"
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: "alpine3.13-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
- name: "Test (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo test --all --release"
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.13-/')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
- name: "Move APK keys"
|
||||
shell: bash
|
||||
run: "mv ~/.abuild/*.pub wezterm-alpine3.13.pub"
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: "alpine3.13"
|
||||
path: |
|
||||
wezterm-*.apk
|
||||
*.pub
|
||||
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: "alpine3.13"
|
||||
- name: "Checksum"
|
||||
shell: bash
|
||||
run: "for f in wezterm-*.apk *.pub ; do sha256sum $f > $f.sha256 ; done"
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.apk *.pub *.sha256"
|
||||
@@ -1,100 +0,0 @@
|
||||
name: alpine3.14
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "**/*.rs"
|
||||
- "**/Cargo.lock"
|
||||
- "**/Cargo.toml"
|
||||
- ".github/workflows/gen_alpine3.14.yml"
|
||||
- "assets/fonts/**/*"
|
||||
- "assets/icon/*"
|
||||
- "assets/open-wezterm-here"
|
||||
- "assets/shell-completion/**/*"
|
||||
- "assets/shell-integration/**/*"
|
||||
- "assets/wezterm-nautilus.py"
|
||||
- "assets/wezterm.appdata.xml"
|
||||
- "assets/wezterm.desktop"
|
||||
- "ci/deploy.sh"
|
||||
- "get-deps"
|
||||
- "tag-name.sh"
|
||||
- "termwiz/data/wezterm.terminfo"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "alpine:3.14"
|
||||
env:
|
||||
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||
|
||||
steps:
|
||||
- name: "Upgrade system"
|
||||
shell: sh
|
||||
run: "apk upgrade --update-cache"
|
||||
- name: "Install CI dependencies"
|
||||
shell: sh
|
||||
run: "apk add nodejs zstd wget bash coreutils tar findutils"
|
||||
- name: "Allow root login"
|
||||
shell: bash
|
||||
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
|
||||
- name: "Install git"
|
||||
shell: bash
|
||||
run: "apk add git"
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apk add curl"
|
||||
- name: "Install openssh"
|
||||
shell: bash
|
||||
run: "apk add openssh"
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: "alpine3.14-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
- name: "Test (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo test --all --release"
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.14-/')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
- name: "Move APK keys"
|
||||
shell: bash
|
||||
run: "mv ~/.abuild/*.pub wezterm-alpine3.14.pub"
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: "alpine3.14"
|
||||
path: "wezterm-*.apk"
|
||||
@@ -1,121 +0,0 @@
|
||||
name: alpine3.14_continuous
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "10 3 * * *"
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "**/*.rs"
|
||||
- "**/Cargo.lock"
|
||||
- "**/Cargo.toml"
|
||||
- ".github/workflows/gen_alpine3.14_continuous.yml"
|
||||
- "assets/fonts/**/*"
|
||||
- "assets/icon/*"
|
||||
- "assets/open-wezterm-here"
|
||||
- "assets/shell-completion/**/*"
|
||||
- "assets/shell-integration/**/*"
|
||||
- "assets/wezterm-nautilus.py"
|
||||
- "assets/wezterm.appdata.xml"
|
||||
- "assets/wezterm.desktop"
|
||||
- "ci/deploy.sh"
|
||||
- "get-deps"
|
||||
- "tag-name.sh"
|
||||
- "termwiz/data/wezterm.terminfo"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "alpine:3.14"
|
||||
env:
|
||||
BUILD_REASON: "Schedule"
|
||||
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||
|
||||
steps:
|
||||
- name: "Upgrade system"
|
||||
shell: sh
|
||||
run: "apk upgrade --update-cache"
|
||||
- name: "Install CI dependencies"
|
||||
shell: sh
|
||||
run: "apk add nodejs zstd wget bash coreutils tar findutils"
|
||||
- name: "Allow root login"
|
||||
shell: bash
|
||||
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
|
||||
- name: "Install git"
|
||||
shell: bash
|
||||
run: "apk add git"
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apk add curl"
|
||||
- name: "Install openssh"
|
||||
shell: bash
|
||||
run: "apk add openssh"
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: "alpine3.14-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
- name: "Test (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo test --all --release"
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk wezterm-nightly-alpine3.14.apk"
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: "alpine3.14"
|
||||
path: "wezterm-*.apk"
|
||||
retention-days: 5
|
||||
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: "alpine3.14"
|
||||
- name: "Checksum"
|
||||
shell: bash
|
||||
run: "for f in wezterm-*.apk ; 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-*.apk *.sha256"
|
||||
@@ -1,113 +0,0 @@
|
||||
name: alpine3.14_tag
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "20*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "alpine:3.14"
|
||||
env:
|
||||
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||
|
||||
steps:
|
||||
- name: "Upgrade system"
|
||||
shell: sh
|
||||
run: "apk upgrade --update-cache"
|
||||
- name: "Install CI dependencies"
|
||||
shell: sh
|
||||
run: "apk add nodejs zstd wget bash coreutils tar findutils"
|
||||
- name: "Allow root login"
|
||||
shell: bash
|
||||
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
|
||||
- name: "Install git"
|
||||
shell: bash
|
||||
run: "apk add git"
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "apk add curl"
|
||||
- name: "Install openssh"
|
||||
shell: bash
|
||||
run: "apk add openssh"
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: "alpine3.14-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
- name: "Test (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo test --all --release"
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Rename APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk $(echo ~/packages/wezterm/x86_64/*.apk | sed -e 's/wezterm-/wezterm-alpine3.14-/')"
|
||||
- name: "Move APKs"
|
||||
shell: bash
|
||||
run: "mv ~/packages/wezterm/x86_64/*.apk ."
|
||||
- name: "Move APK keys"
|
||||
shell: bash
|
||||
run: "mv ~/.abuild/*.pub wezterm-alpine3.14.pub"
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: "alpine3.14"
|
||||
path: |
|
||||
wezterm-*.apk
|
||||
*.pub
|
||||
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: "alpine3.14"
|
||||
- name: "Checksum"
|
||||
shell: bash
|
||||
run: "for f in wezterm-*.apk *.pub ; do sha256sum $f > $f.sha256 ; done"
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.apk *.pub *.sha256"
|
||||
@@ -1,89 +0,0 @@
|
||||
name: fedora34
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "**/*.rs"
|
||||
- "**/Cargo.lock"
|
||||
- "**/Cargo.toml"
|
||||
- ".github/workflows/gen_fedora34.yml"
|
||||
- "assets/fonts/**/*"
|
||||
- "assets/icon/*"
|
||||
- "assets/open-wezterm-here"
|
||||
- "assets/shell-completion/**/*"
|
||||
- "assets/shell-integration/**/*"
|
||||
- "assets/wezterm-nautilus.py"
|
||||
- "assets/wezterm.appdata.xml"
|
||||
- "assets/wezterm.desktop"
|
||||
- "ci/deploy.sh"
|
||||
- "get-deps"
|
||||
- "tag-name.sh"
|
||||
- "termwiz/data/wezterm.terminfo"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "fedora:34"
|
||||
|
||||
steps:
|
||||
- name: "Install config manager"
|
||||
shell: bash
|
||||
run: "dnf install -y 'dnf-command(config-manager)'"
|
||||
- name: "Install git"
|
||||
shell: bash
|
||||
run: "yum install -y git"
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "yum install -y curl"
|
||||
- name: "Ensure /run/sshd exists"
|
||||
shell: bash
|
||||
run: "mkdir -p /run/sshd"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "yum install -y openssh-server"
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: "fedora34-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
- name: "Test (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo test --all --release"
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Move RPM"
|
||||
shell: bash
|
||||
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: "fedora34"
|
||||
path: "wezterm-*.rpm"
|
||||
@@ -1,117 +0,0 @@
|
||||
name: fedora34_continuous
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "10 3 * * *"
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "**/*.rs"
|
||||
- "**/Cargo.lock"
|
||||
- "**/Cargo.toml"
|
||||
- ".github/workflows/gen_fedora34_continuous.yml"
|
||||
- "assets/fonts/**/*"
|
||||
- "assets/icon/*"
|
||||
- "assets/open-wezterm-here"
|
||||
- "assets/shell-completion/**/*"
|
||||
- "assets/shell-integration/**/*"
|
||||
- "assets/wezterm-nautilus.py"
|
||||
- "assets/wezterm.appdata.xml"
|
||||
- "assets/wezterm.desktop"
|
||||
- "ci/deploy.sh"
|
||||
- "get-deps"
|
||||
- "tag-name.sh"
|
||||
- "termwiz/data/wezterm.terminfo"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "fedora:34"
|
||||
env:
|
||||
BUILD_REASON: "Schedule"
|
||||
|
||||
steps:
|
||||
- name: "Install config manager"
|
||||
shell: bash
|
||||
run: "dnf install -y 'dnf-command(config-manager)'"
|
||||
- name: "Install git"
|
||||
shell: bash
|
||||
run: "yum install -y git"
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "yum install -y curl"
|
||||
- name: "Ensure /run/sshd exists"
|
||||
shell: bash
|
||||
run: "mkdir -p /run/sshd"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "yum install -y openssh-server"
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: "fedora34-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
- name: "Test (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo test --all --release"
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Move RPM"
|
||||
shell: bash
|
||||
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora34.rpm"
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: "fedora34"
|
||||
path: "wezterm-*.rpm"
|
||||
retention-days: 5
|
||||
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: "fedora34"
|
||||
- name: "Checksum"
|
||||
shell: bash
|
||||
run: "for f in wezterm-*.rpm ; 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-*.rpm *.sha256"
|
||||
@@ -1,100 +0,0 @@
|
||||
name: fedora34_tag
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "20*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "fedora:34"
|
||||
|
||||
steps:
|
||||
- name: "Install config manager"
|
||||
shell: bash
|
||||
run: "dnf install -y 'dnf-command(config-manager)'"
|
||||
- name: "Install git"
|
||||
shell: bash
|
||||
run: "yum install -y git"
|
||||
- name: "Install curl"
|
||||
shell: bash
|
||||
run: "yum install -y curl"
|
||||
- name: "Ensure /run/sshd exists"
|
||||
shell: bash
|
||||
run: "mkdir -p /run/sshd"
|
||||
- name: "Install openssh-server"
|
||||
shell: bash
|
||||
run: "yum install -y openssh-server"
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: "fedora34-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
- name: "Test (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo test --all --release"
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Move RPM"
|
||||
shell: bash
|
||||
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: "fedora34"
|
||||
path: "wezterm-*.rpm"
|
||||
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- name: "Workaround git permissions issue"
|
||||
shell: bash
|
||||
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v3
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: "fedora34"
|
||||
- name: "Checksum"
|
||||
shell: bash
|
||||
run: "for f in wezterm-*.rpm ; do sha256sum $f > $f.sha256 ; done"
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.rpm *.sha256"
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
import os
|
||||
import sys
|
||||
import glob
|
||||
from copy import deepcopy
|
||||
|
||||
TRIGGER_PATHS = [
|
||||
@@ -881,13 +882,9 @@ TARGETS = [
|
||||
Target(name="centos9", container="quay.io/centos/centos:stream9"),
|
||||
Target(name="macos", os="macos-11"),
|
||||
# https://fedoraproject.org/wiki/End_of_life?rd=LifeCycle/EOL
|
||||
Target(container="fedora:34"),
|
||||
Target(container="fedora:35"),
|
||||
Target(container="fedora:36"),
|
||||
Target(container="fedora:37"),
|
||||
Target(container="alpine:3.12"),
|
||||
Target(container="alpine:3.13"),
|
||||
Target(container="alpine:3.14"),
|
||||
Target(container="alpine:3.15"),
|
||||
Target(name="opensuse_leap", container="registry.opensuse.org/opensuse/leap:15.3"),
|
||||
Target(
|
||||
@@ -1024,6 +1021,12 @@ on:
|
||||
)
|
||||
|
||||
|
||||
def remove_gen_actions():
|
||||
for name in glob.glob(".github/workflows/gen_*.yml"):
|
||||
os.remove(name)
|
||||
|
||||
|
||||
remove_gen_actions()
|
||||
generate_pr_actions()
|
||||
continuous_actions()
|
||||
tag_actions()
|
||||
@@ -111,7 +111,7 @@ on most Linux systems.
|
||||
|CentOS8 |[{{ centos8_rpm_stable_asset }}]({{ centos8_rpm_stable }}) |[{{ centos8_rpm_nightly_asset }}]({{ centos8_rpm_nightly }})|
|
||||
|CentOS9 |[{{ centos9_rpm_stable_asset }}]({{ centos9_rpm_stable }})|[{{ centos9_rpm_nightly_asset }}]({{ centos9_rpm_nightly }})|
|
||||
|Fedora33 |[{{ fedora33_rpm_stable_asset }}]({{ fedora33_rpm_stable }}) |No longer provided|
|
||||
|Fedora34 |[{{ fedora34_rpm_stable_asset }}]({{ fedora34_rpm_stable }}) |[{{ fedora34_rpm_nightly_asset }}]({{ fedora34_rpm_nightly }})|
|
||||
|Fedora34 |[{{ fedora34_rpm_stable_asset }}]({{ fedora34_rpm_stable }}) |No longer provided|
|
||||
|Fedora35 |[{{ fedora35_rpm_stable_asset }}]({{ fedora35_rpm_stable }}) |[{{ fedora35_rpm_nightly_asset }}]({{ fedora35_rpm_nightly }})|
|
||||
|Fedora36 |[{{ fedora36_rpm_stable_asset }}]({{ fedora36_rpm_stable }})|[{{ fedora36_rpm_nightly_asset }}]({{ fedora36_rpm_nightly }})|
|
||||
|Fedora37 |Nightly builds only |[{{ fedora37_rpm_nightly_asset }}]({{ fedora37_rpm_nightly }})|
|
||||
@@ -155,9 +155,9 @@ APKs are built out from the `main` branch.
|
||||
|
||||
|Version | Stable | Nightly |
|
||||
|--------|---------------|---------|
|
||||
| 3.12 |[{{ alpine3_12_apk_stable_asset }}]({{ alpine3_12_apk_stable }})|[{{ alpine3_12_apk_nightly_asset }}]({{ alpine3_12_apk_nightly }})|
|
||||
| 3.13 |[{{ alpine3_13_apk_stable_asset }}]({{ alpine3_13_apk_stable }})|[{{ alpine3_13_apk_nightly_asset }}]({{ alpine3_13_apk_nightly }})|
|
||||
| 3.14 |[{{ alpine3_14_apk_stable_asset }}]({{ alpine3_14_apk_stable }})|[{{ alpine3_14_apk_nightly_asset }}]({{ alpine3_14_apk_nightly }})|
|
||||
| 3.12 |[{{ alpine3_12_apk_stable_asset }}]({{ alpine3_12_apk_stable }})|no longer provided|
|
||||
| 3.13 |[{{ alpine3_13_apk_stable_asset }}]({{ alpine3_13_apk_stable }})|no longer provided|
|
||||
| 3.14 |[{{ alpine3_14_apk_stable_asset }}]({{ alpine3_14_apk_stable }})|no longer provided|
|
||||
| 3.15 |[{{ alpine3_15_apk_stable_asset }}]({{ alpine3_15_apk_stable }})|[{{ alpine3_15_apk_nightly_asset }}]({{ alpine3_15_apk_nightly }})|
|
||||
|
||||
## Linuxbrew Tap
|
||||
|
||||
Reference in new issue
Block a user