mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 12:23:46 +03:00
ci: update workflows
Signed-off-by: Jakub Panek <me@panekj.dev>
This commit is contained in:
parent
dc728b3895
commit
724baf12b5
84
.github/workflows/gen_alpine3.12.yml
vendored
Normal file
84
.github/workflows/gen_alpine3.12.yml
vendored
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
name: alpine3.12
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- ".cirrus.yml"
|
||||||
|
- "docs/*"
|
||||||
|
- "ci/build-docs.sh"
|
||||||
|
- "ci/generate-docs.py"
|
||||||
|
- "ci/subst-release-info.py"
|
||||||
|
- ".github/workflows/pages.yml"
|
||||||
|
- ".github/workflows/verify-pages.yml"
|
||||||
|
- ".github/ISSUE_TEMPLATE/*"
|
||||||
|
- "**/*.md"
|
||||||
|
|
||||||
|
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"
|
||||||
|
- 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: "Upload artifact"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: "alpine3.12"
|
||||||
|
path: "~/packages/x86_64/wezterm-*.apk"
|
108
.github/workflows/gen_alpine3.12_continuous.yml
vendored
Normal file
108
.github/workflows/gen_alpine3.12_continuous.yml
vendored
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
name: alpine3.12_continuous
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "10 3 * * *"
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- ".cirrus.yml"
|
||||||
|
- "docs/**"
|
||||||
|
- "ci/build-docs.sh"
|
||||||
|
- "ci/generate-docs.py"
|
||||||
|
- "ci/subst-release-info.py"
|
||||||
|
- ".github/workflows/pages.yml"
|
||||||
|
- ".github/workflows/verify-pages.yml"
|
||||||
|
- ".github/ISSUE_TEMPLATE/*"
|
||||||
|
- "**/*.md"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
container: "alpine:3.12"
|
||||||
|
env:
|
||||||
|
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Upgrade system"
|
||||||
|
shell: sh
|
||||||
|
run: "apk upgrade --update-cache"
|
||||||
|
- name: "Install CI dependencies"
|
||||||
|
shell: sh
|
||||||
|
run: "apk add nodejs zstd wget bash"
|
||||||
|
- 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: "Upload artifact"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: "alpine3.12"
|
||||||
|
path: "~/packages/x86_64/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: "Upload to Nightly Release"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
shell: bash
|
||||||
|
run: "bash ci/retry.sh gh release upload --clobber nightly ~/packages/x86_64/wezterm-*.apk"
|
102
.github/workflows/gen_alpine3.12_tag.yml
vendored
Normal file
102
.github/workflows/gen_alpine3.12_tag.yml
vendored
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
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"
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Upgrade system"
|
||||||
|
shell: sh
|
||||||
|
run: "apk upgrade --update-cache"
|
||||||
|
- name: "Install CI dependencies"
|
||||||
|
shell: sh
|
||||||
|
run: "apk add nodejs zstd wget bash"
|
||||||
|
- 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: "Upload artifact"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: "alpine3.12"
|
||||||
|
path: |
|
||||||
|
~/packages/x86_64/wezterm-*.apk
|
||||||
|
~/.abuild/*.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: "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) ~/packages/x86_64/wezterm-*.apk ~/.abuild/*.pub"
|
84
.github/workflows/gen_alpine3.13.yml
vendored
Normal file
84
.github/workflows/gen_alpine3.13.yml
vendored
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
name: alpine3.13
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- ".cirrus.yml"
|
||||||
|
- "docs/*"
|
||||||
|
- "ci/build-docs.sh"
|
||||||
|
- "ci/generate-docs.py"
|
||||||
|
- "ci/subst-release-info.py"
|
||||||
|
- ".github/workflows/pages.yml"
|
||||||
|
- ".github/workflows/verify-pages.yml"
|
||||||
|
- ".github/ISSUE_TEMPLATE/*"
|
||||||
|
- "**/*.md"
|
||||||
|
|
||||||
|
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"
|
||||||
|
- 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: "Upload artifact"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: "alpine3.13"
|
||||||
|
path: "~/packages/x86_64/wezterm-*.apk"
|
108
.github/workflows/gen_alpine3.13_continuous.yml
vendored
Normal file
108
.github/workflows/gen_alpine3.13_continuous.yml
vendored
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
name: alpine3.13_continuous
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "10 3 * * *"
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- ".cirrus.yml"
|
||||||
|
- "docs/**"
|
||||||
|
- "ci/build-docs.sh"
|
||||||
|
- "ci/generate-docs.py"
|
||||||
|
- "ci/subst-release-info.py"
|
||||||
|
- ".github/workflows/pages.yml"
|
||||||
|
- ".github/workflows/verify-pages.yml"
|
||||||
|
- ".github/ISSUE_TEMPLATE/*"
|
||||||
|
- "**/*.md"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
container: "alpine:3.13"
|
||||||
|
env:
|
||||||
|
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Upgrade system"
|
||||||
|
shell: sh
|
||||||
|
run: "apk upgrade --update-cache"
|
||||||
|
- name: "Install CI dependencies"
|
||||||
|
shell: sh
|
||||||
|
run: "apk add nodejs zstd wget bash"
|
||||||
|
- 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: "Upload artifact"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: "alpine3.13"
|
||||||
|
path: "~/packages/x86_64/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: "Upload to Nightly Release"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
shell: bash
|
||||||
|
run: "bash ci/retry.sh gh release upload --clobber nightly ~/packages/x86_64/wezterm-*.apk"
|
102
.github/workflows/gen_alpine3.13_tag.yml
vendored
Normal file
102
.github/workflows/gen_alpine3.13_tag.yml
vendored
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
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"
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Upgrade system"
|
||||||
|
shell: sh
|
||||||
|
run: "apk upgrade --update-cache"
|
||||||
|
- name: "Install CI dependencies"
|
||||||
|
shell: sh
|
||||||
|
run: "apk add nodejs zstd wget bash"
|
||||||
|
- 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: "Upload artifact"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: "alpine3.13"
|
||||||
|
path: |
|
||||||
|
~/packages/x86_64/wezterm-*.apk
|
||||||
|
~/.abuild/*.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: "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) ~/packages/x86_64/wezterm-*.apk ~/.abuild/*.pub"
|
84
.github/workflows/gen_alpine3.14.yml
vendored
Normal file
84
.github/workflows/gen_alpine3.14.yml
vendored
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
name: alpine3.14
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- ".cirrus.yml"
|
||||||
|
- "docs/*"
|
||||||
|
- "ci/build-docs.sh"
|
||||||
|
- "ci/generate-docs.py"
|
||||||
|
- "ci/subst-release-info.py"
|
||||||
|
- ".github/workflows/pages.yml"
|
||||||
|
- ".github/workflows/verify-pages.yml"
|
||||||
|
- ".github/ISSUE_TEMPLATE/*"
|
||||||
|
- "**/*.md"
|
||||||
|
|
||||||
|
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"
|
||||||
|
- 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: "Upload artifact"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: "alpine3.14"
|
||||||
|
path: "~/packages/x86_64/wezterm-*.apk"
|
108
.github/workflows/gen_alpine3.14_continuous.yml
vendored
Normal file
108
.github/workflows/gen_alpine3.14_continuous.yml
vendored
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
name: alpine3.14_continuous
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "10 3 * * *"
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- ".cirrus.yml"
|
||||||
|
- "docs/**"
|
||||||
|
- "ci/build-docs.sh"
|
||||||
|
- "ci/generate-docs.py"
|
||||||
|
- "ci/subst-release-info.py"
|
||||||
|
- ".github/workflows/pages.yml"
|
||||||
|
- ".github/workflows/verify-pages.yml"
|
||||||
|
- ".github/ISSUE_TEMPLATE/*"
|
||||||
|
- "**/*.md"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
container: "alpine:3.14"
|
||||||
|
env:
|
||||||
|
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Upgrade system"
|
||||||
|
shell: sh
|
||||||
|
run: "apk upgrade --update-cache"
|
||||||
|
- name: "Install CI dependencies"
|
||||||
|
shell: sh
|
||||||
|
run: "apk add nodejs zstd wget bash"
|
||||||
|
- 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: "Upload artifact"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: "alpine3.14"
|
||||||
|
path: "~/packages/x86_64/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: "Upload to Nightly Release"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
shell: bash
|
||||||
|
run: "bash ci/retry.sh gh release upload --clobber nightly ~/packages/x86_64/wezterm-*.apk"
|
102
.github/workflows/gen_alpine3.14_tag.yml
vendored
Normal file
102
.github/workflows/gen_alpine3.14_tag.yml
vendored
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
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"
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Upgrade system"
|
||||||
|
shell: sh
|
||||||
|
run: "apk upgrade --update-cache"
|
||||||
|
- name: "Install CI dependencies"
|
||||||
|
shell: sh
|
||||||
|
run: "apk add nodejs zstd wget bash"
|
||||||
|
- 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: "Upload artifact"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: "alpine3.14"
|
||||||
|
path: |
|
||||||
|
~/packages/x86_64/wezterm-*.apk
|
||||||
|
~/.abuild/*.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: "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) ~/packages/x86_64/wezterm-*.apk ~/.abuild/*.pub"
|
84
.github/workflows/gen_alpine3.15.yml
vendored
Normal file
84
.github/workflows/gen_alpine3.15.yml
vendored
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
name: alpine3.15
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- ".cirrus.yml"
|
||||||
|
- "docs/*"
|
||||||
|
- "ci/build-docs.sh"
|
||||||
|
- "ci/generate-docs.py"
|
||||||
|
- "ci/subst-release-info.py"
|
||||||
|
- ".github/workflows/pages.yml"
|
||||||
|
- ".github/workflows/verify-pages.yml"
|
||||||
|
- ".github/ISSUE_TEMPLATE/*"
|
||||||
|
- "**/*.md"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
container: "alpine:3.15"
|
||||||
|
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"
|
||||||
|
- 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.15-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: "Upload artifact"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: "alpine3.15"
|
||||||
|
path: "~/packages/x86_64/wezterm-*.apk"
|
108
.github/workflows/gen_alpine3.15_continuous.yml
vendored
Normal file
108
.github/workflows/gen_alpine3.15_continuous.yml
vendored
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
name: alpine3.15_continuous
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "10 3 * * *"
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- ".cirrus.yml"
|
||||||
|
- "docs/**"
|
||||||
|
- "ci/build-docs.sh"
|
||||||
|
- "ci/generate-docs.py"
|
||||||
|
- "ci/subst-release-info.py"
|
||||||
|
- ".github/workflows/pages.yml"
|
||||||
|
- ".github/workflows/verify-pages.yml"
|
||||||
|
- ".github/ISSUE_TEMPLATE/*"
|
||||||
|
- "**/*.md"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
container: "alpine:3.15"
|
||||||
|
env:
|
||||||
|
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Upgrade system"
|
||||||
|
shell: sh
|
||||||
|
run: "apk upgrade --update-cache"
|
||||||
|
- name: "Install CI dependencies"
|
||||||
|
shell: sh
|
||||||
|
run: "apk add nodejs zstd wget bash"
|
||||||
|
- 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.15-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: "Upload artifact"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: "alpine3.15"
|
||||||
|
path: "~/packages/x86_64/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.15"
|
||||||
|
- name: "Upload to Nightly Release"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
shell: bash
|
||||||
|
run: "bash ci/retry.sh gh release upload --clobber nightly ~/packages/x86_64/wezterm-*.apk"
|
102
.github/workflows/gen_alpine3.15_tag.yml
vendored
Normal file
102
.github/workflows/gen_alpine3.15_tag.yml
vendored
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
name: alpine3.15_tag
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "20*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
container: "alpine:3.15"
|
||||||
|
env:
|
||||||
|
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Upgrade system"
|
||||||
|
shell: sh
|
||||||
|
run: "apk upgrade --update-cache"
|
||||||
|
- name: "Install CI dependencies"
|
||||||
|
shell: sh
|
||||||
|
run: "apk add nodejs zstd wget bash"
|
||||||
|
- 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.15-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: "Upload artifact"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: "alpine3.15"
|
||||||
|
path: |
|
||||||
|
~/packages/x86_64/wezterm-*.apk
|
||||||
|
~/.abuild/*.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.15"
|
||||||
|
- 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) ~/packages/x86_64/wezterm-*.apk ~/.abuild/*.pub"
|
1
.github/workflows/gen_centos8.yml
vendored
1
.github/workflows/gen_centos8.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "quay.io/centos/centos:stream8"
|
container: "quay.io/centos/centos:stream8"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
52
.github/workflows/gen_centos8_continuous.yml
vendored
52
.github/workflows/gen_centos8_continuous.yml
vendored
@ -21,42 +21,31 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "quay.io/centos/centos:stream8"
|
container: "quay.io/centos/centos:stream8"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "dnf install -y 'dnf-command(config-manager)'"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
dnf install -y 'dnf-command(config-manager)'
|
|
||||||
- name: "Enable PowerTools"
|
- name: "Enable PowerTools"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "dnf config-manager --set-enabled powertools"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
dnf config-manager --set-enabled powertools
|
|
||||||
- name: "Install git"
|
- name: "Install git"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y git"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y git
|
|
||||||
- name: "Install curl"
|
- name: "Install curl"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y curl"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y curl
|
|
||||||
- name: "Ensure /run/sshd exists"
|
- name: "Ensure /run/sshd exists"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mkdir -p /run/sshd"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mkdir -p /run/sshd
|
|
||||||
- name: "Install openssh-server"
|
- name: "Install openssh-server"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y openssh-server"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y openssh-server
|
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
git config --global --add safe.directory /__w/wezterm/wezterm
|
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -80,29 +69,19 @@ jobs:
|
|||||||
key: "centos8-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
key: "centos8-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||||
- name: "Install System Deps"
|
- name: "Install System Deps"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "env PATH=$PATH ./get-deps"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
env PATH=$PATH ./get-deps
|
|
||||||
- name: "Build (Release mode)"
|
- name: "Build (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo build --all --release
|
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo test --all --release
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
bash ci/deploy.sh
|
|
||||||
- name: "Move RPM"
|
- name: "Move RPM"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-centos8.rpm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-centos8.rpm
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -113,6 +92,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
4
.github/workflows/gen_centos8_tag.yml
vendored
4
.github/workflows/gen_centos8_tag.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "quay.io/centos/centos:stream8"
|
container: "quay.io/centos/centos:stream8"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -76,6 +79,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
1
.github/workflows/gen_centos9.yml
vendored
1
.github/workflows/gen_centos9.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "quay.io/centos/centos:stream9"
|
container: "quay.io/centos/centos:stream9"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
52
.github/workflows/gen_centos9_continuous.yml
vendored
52
.github/workflows/gen_centos9_continuous.yml
vendored
@ -21,42 +21,31 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "quay.io/centos/centos:stream9"
|
container: "quay.io/centos/centos:stream9"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "dnf install -y 'dnf-command(config-manager)'"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
dnf install -y 'dnf-command(config-manager)'
|
|
||||||
- name: "Enable CRB repo for X bits"
|
- name: "Enable CRB repo for X bits"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "dnf config-manager --set-enabled crb"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
dnf config-manager --set-enabled crb
|
|
||||||
- name: "Install git"
|
- name: "Install git"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y git"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y git
|
|
||||||
- name: "Install curl-minimal"
|
- name: "Install curl-minimal"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y curl-minimal"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y curl-minimal
|
|
||||||
- name: "Ensure /run/sshd exists"
|
- name: "Ensure /run/sshd exists"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mkdir -p /run/sshd"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mkdir -p /run/sshd
|
|
||||||
- name: "Install openssh-server"
|
- name: "Install openssh-server"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y openssh-server"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y openssh-server
|
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
git config --global --add safe.directory /__w/wezterm/wezterm
|
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -80,29 +69,19 @@ jobs:
|
|||||||
key: "centos9-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
key: "centos9-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||||
- name: "Install System Deps"
|
- name: "Install System Deps"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "env PATH=$PATH ./get-deps"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
env PATH=$PATH ./get-deps
|
|
||||||
- name: "Build (Release mode)"
|
- name: "Build (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo build --all --release
|
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo test --all --release
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
bash ci/deploy.sh
|
|
||||||
- name: "Move RPM"
|
- name: "Move RPM"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-centos9.rpm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-centos9.rpm
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -113,6 +92,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
4
.github/workflows/gen_centos9_tag.yml
vendored
4
.github/workflows/gen_centos9_tag.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "quay.io/centos/centos:stream9"
|
container: "quay.io/centos/centos:stream9"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -76,6 +79,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
1
.github/workflows/gen_debian10.3.yml
vendored
1
.github/workflows/gen_debian10.3.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "debian:10.3"
|
container: "debian:10.3"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "set APT to non-interactive"
|
- name: "set APT to non-interactive"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
52
.github/workflows/gen_debian10.3_continuous.yml
vendored
52
.github/workflows/gen_debian10.3_continuous.yml
vendored
@ -21,47 +21,34 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "debian:10.3"
|
container: "debian:10.3"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "set APT to non-interactive"
|
- name: "set APT to non-interactive"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
- name: "Update APT"
|
- name: "Update APT"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt update"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt update
|
|
||||||
- name: "Install git"
|
- name: "Install git"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt-get install -y git"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt-get install -y git
|
|
||||||
- name: "Install curl"
|
- name: "Install curl"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt-get install -y curl"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt-get install -y curl
|
|
||||||
- name: "Update APT"
|
- name: "Update APT"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt update"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt update
|
|
||||||
- name: "Ensure /run/sshd exists"
|
- name: "Ensure /run/sshd exists"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mkdir -p /run/sshd"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mkdir -p /run/sshd
|
|
||||||
- name: "Install openssh-server"
|
- name: "Install openssh-server"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt-get install -y openssh-server"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt-get install -y openssh-server
|
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
git config --global --add safe.directory /__w/wezterm/wezterm
|
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -85,24 +72,16 @@ jobs:
|
|||||||
key: "debian10.3-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
key: "debian10.3-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||||
- name: "Install System Deps"
|
- name: "Install System Deps"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "env PATH=$PATH ./get-deps"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
env PATH=$PATH ./get-deps
|
|
||||||
- name: "Build (Release mode)"
|
- name: "Build (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo build --all --release
|
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo test --all --release
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
bash ci/deploy.sh
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -115,6 +94,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
4
.github/workflows/gen_debian10.3_tag.yml
vendored
4
.github/workflows/gen_debian10.3_tag.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "debian:10.3"
|
container: "debian:10.3"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "set APT to non-interactive"
|
- name: "set APT to non-interactive"
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -78,6 +81,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
1
.github/workflows/gen_debian11.yml
vendored
1
.github/workflows/gen_debian11.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "debian:11"
|
container: "debian:11"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "set APT to non-interactive"
|
- name: "set APT to non-interactive"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
52
.github/workflows/gen_debian11_continuous.yml
vendored
52
.github/workflows/gen_debian11_continuous.yml
vendored
@ -21,47 +21,34 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "debian:11"
|
container: "debian:11"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "set APT to non-interactive"
|
- name: "set APT to non-interactive"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
- name: "Update APT"
|
- name: "Update APT"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt update"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt update
|
|
||||||
- name: "Install git"
|
- name: "Install git"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt-get install -y git"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt-get install -y git
|
|
||||||
- name: "Install curl"
|
- name: "Install curl"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt-get install -y curl"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt-get install -y curl
|
|
||||||
- name: "Update APT"
|
- name: "Update APT"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt update"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt update
|
|
||||||
- name: "Ensure /run/sshd exists"
|
- name: "Ensure /run/sshd exists"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mkdir -p /run/sshd"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mkdir -p /run/sshd
|
|
||||||
- name: "Install openssh-server"
|
- name: "Install openssh-server"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt-get install -y openssh-server"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt-get install -y openssh-server
|
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
git config --global --add safe.directory /__w/wezterm/wezterm
|
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -85,24 +72,16 @@ jobs:
|
|||||||
key: "debian11-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
key: "debian11-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||||
- name: "Install System Deps"
|
- name: "Install System Deps"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "env PATH=$PATH ./get-deps"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
env PATH=$PATH ./get-deps
|
|
||||||
- name: "Build (Release mode)"
|
- name: "Build (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo build --all --release
|
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo test --all --release
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
bash ci/deploy.sh
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -115,6 +94,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
4
.github/workflows/gen_debian11_tag.yml
vendored
4
.github/workflows/gen_debian11_tag.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "debian:11"
|
container: "debian:11"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "set APT to non-interactive"
|
- name: "set APT to non-interactive"
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -78,6 +81,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
1
.github/workflows/gen_debian9.12.yml
vendored
1
.github/workflows/gen_debian9.12.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "debian:9.12"
|
container: "debian:9.12"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "set APT to non-interactive"
|
- name: "set APT to non-interactive"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
49
.github/workflows/gen_debian9.12_continuous.yml
vendored
49
.github/workflows/gen_debian9.12_continuous.yml
vendored
@ -21,17 +21,16 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "debian:9.12"
|
container: "debian:9.12"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "set APT to non-interactive"
|
- name: "set APT to non-interactive"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
- name: "Update APT"
|
- name: "Update APT"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt update"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt update
|
|
||||||
- name: "Cache Git installation"
|
- name: "Cache Git installation"
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
@ -40,7 +39,6 @@ jobs:
|
|||||||
- name: "Install Git from source"
|
- name: "Install Git from source"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt-get install -y wget libcurl4-openssl-dev libexpat-dev gettext libssl-dev libz-dev gcc libextutils-autoinstall-perl make
|
apt-get install -y wget libcurl4-openssl-dev libexpat-dev gettext libssl-dev libz-dev gcc libextutils-autoinstall-perl make
|
||||||
if test ! -x /usr/local/git/bin/git ; then
|
if test ! -x /usr/local/git/bin/git ; then
|
||||||
cd /tmp
|
cd /tmp
|
||||||
@ -52,29 +50,19 @@ jobs:
|
|||||||
ln -s /usr/local/git/bin/git /usr/local/bin/git
|
ln -s /usr/local/git/bin/git /usr/local/bin/git
|
||||||
- name: "Install curl"
|
- name: "Install curl"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt-get install -y curl"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt-get install -y curl
|
|
||||||
- name: "Update APT"
|
- name: "Update APT"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt update"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt update
|
|
||||||
- name: "Ensure /run/sshd exists"
|
- name: "Ensure /run/sshd exists"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mkdir -p /run/sshd"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mkdir -p /run/sshd
|
|
||||||
- name: "Install openssh-server"
|
- name: "Install openssh-server"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt-get install -y openssh-server"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt-get install -y openssh-server
|
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
git config --global --add safe.directory /__w/wezterm/wezterm
|
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -98,24 +86,16 @@ jobs:
|
|||||||
key: "debian9.12-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
key: "debian9.12-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||||
- name: "Install System Deps"
|
- name: "Install System Deps"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "env PATH=$PATH ./get-deps"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
env PATH=$PATH ./get-deps
|
|
||||||
- name: "Build (Release mode)"
|
- name: "Build (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo build --all --release
|
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo test --all --release
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
bash ci/deploy.sh
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -128,6 +108,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
4
.github/workflows/gen_debian9.12_tag.yml
vendored
4
.github/workflows/gen_debian9.12_tag.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "debian:9.12"
|
container: "debian:9.12"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "set APT to non-interactive"
|
- name: "set APT to non-interactive"
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -92,6 +95,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
1
.github/workflows/gen_fedora33.yml
vendored
1
.github/workflows/gen_fedora33.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "fedora:33"
|
container: "fedora:33"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
48
.github/workflows/gen_fedora33_continuous.yml
vendored
48
.github/workflows/gen_fedora33_continuous.yml
vendored
@ -21,37 +21,28 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "fedora:33"
|
container: "fedora:33"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "dnf install -y 'dnf-command(config-manager)'"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
dnf install -y 'dnf-command(config-manager)'
|
|
||||||
- name: "Install git"
|
- name: "Install git"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y git"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y git
|
|
||||||
- name: "Install curl"
|
- name: "Install curl"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y curl"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y curl
|
|
||||||
- name: "Ensure /run/sshd exists"
|
- name: "Ensure /run/sshd exists"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mkdir -p /run/sshd"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mkdir -p /run/sshd
|
|
||||||
- name: "Install openssh-server"
|
- name: "Install openssh-server"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y openssh-server"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y openssh-server
|
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
git config --global --add safe.directory /__w/wezterm/wezterm
|
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -75,29 +66,19 @@ jobs:
|
|||||||
key: "fedora33-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
key: "fedora33-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||||
- name: "Install System Deps"
|
- name: "Install System Deps"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "env PATH=$PATH ./get-deps"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
env PATH=$PATH ./get-deps
|
|
||||||
- name: "Build (Release mode)"
|
- name: "Build (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo build --all --release
|
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo test --all --release
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
bash ci/deploy.sh
|
|
||||||
- name: "Move RPM"
|
- name: "Move RPM"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora33.rpm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora33.rpm
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -108,6 +89,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
4
.github/workflows/gen_fedora33_tag.yml
vendored
4
.github/workflows/gen_fedora33_tag.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "fedora:33"
|
container: "fedora:33"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -73,6 +76,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
1
.github/workflows/gen_fedora34.yml
vendored
1
.github/workflows/gen_fedora34.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "fedora:34"
|
container: "fedora:34"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
48
.github/workflows/gen_fedora34_continuous.yml
vendored
48
.github/workflows/gen_fedora34_continuous.yml
vendored
@ -21,37 +21,28 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "fedora:34"
|
container: "fedora:34"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "dnf install -y 'dnf-command(config-manager)'"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
dnf install -y 'dnf-command(config-manager)'
|
|
||||||
- name: "Install git"
|
- name: "Install git"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y git"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y git
|
|
||||||
- name: "Install curl"
|
- name: "Install curl"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y curl"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y curl
|
|
||||||
- name: "Ensure /run/sshd exists"
|
- name: "Ensure /run/sshd exists"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mkdir -p /run/sshd"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mkdir -p /run/sshd
|
|
||||||
- name: "Install openssh-server"
|
- name: "Install openssh-server"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y openssh-server"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y openssh-server
|
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
git config --global --add safe.directory /__w/wezterm/wezterm
|
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -75,29 +66,19 @@ jobs:
|
|||||||
key: "fedora34-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
key: "fedora34-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||||
- name: "Install System Deps"
|
- name: "Install System Deps"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "env PATH=$PATH ./get-deps"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
env PATH=$PATH ./get-deps
|
|
||||||
- name: "Build (Release mode)"
|
- name: "Build (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo build --all --release
|
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo test --all --release
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
bash ci/deploy.sh
|
|
||||||
- name: "Move RPM"
|
- name: "Move RPM"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora34.rpm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora34.rpm
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -108,6 +89,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
4
.github/workflows/gen_fedora34_tag.yml
vendored
4
.github/workflows/gen_fedora34_tag.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "fedora:34"
|
container: "fedora:34"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -73,6 +76,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
1
.github/workflows/gen_fedora35.yml
vendored
1
.github/workflows/gen_fedora35.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "fedora:35"
|
container: "fedora:35"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
48
.github/workflows/gen_fedora35_continuous.yml
vendored
48
.github/workflows/gen_fedora35_continuous.yml
vendored
@ -21,37 +21,28 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "fedora:35"
|
container: "fedora:35"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "dnf install -y 'dnf-command(config-manager)'"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
dnf install -y 'dnf-command(config-manager)'
|
|
||||||
- name: "Install git"
|
- name: "Install git"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y git"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y git
|
|
||||||
- name: "Install curl"
|
- name: "Install curl"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y curl"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y curl
|
|
||||||
- name: "Ensure /run/sshd exists"
|
- name: "Ensure /run/sshd exists"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mkdir -p /run/sshd"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mkdir -p /run/sshd
|
|
||||||
- name: "Install openssh-server"
|
- name: "Install openssh-server"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "yum install -y openssh-server"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
yum install -y openssh-server
|
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
git config --global --add safe.directory /__w/wezterm/wezterm
|
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -75,29 +66,19 @@ jobs:
|
|||||||
key: "fedora35-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
key: "fedora35-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||||
- name: "Install System Deps"
|
- name: "Install System Deps"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "env PATH=$PATH ./get-deps"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
env PATH=$PATH ./get-deps
|
|
||||||
- name: "Build (Release mode)"
|
- name: "Build (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo build --all --release
|
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo test --all --release
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
bash ci/deploy.sh
|
|
||||||
- name: "Move RPM"
|
- name: "Move RPM"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora35.rpm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora35.rpm
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -108,6 +89,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
4
.github/workflows/gen_fedora35_tag.yml
vendored
4
.github/workflows/gen_fedora35_tag.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "fedora:35"
|
container: "fedora:35"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Install config manager"
|
- name: "Install config manager"
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -73,6 +76,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
27
.github/workflows/gen_macos.yml
vendored
27
.github/workflows/gen_macos.yml
vendored
@ -19,6 +19,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "macos-11"
|
runs-on: "macos-11"
|
||||||
|
|
||||||
|
env:
|
||||||
|
MACOSX_DEPLOYMENT_TARGET: "10.9"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -35,34 +38,22 @@ jobs:
|
|||||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||||
- name: "Install Rust (ARM)"
|
- name: "Install Rust (ARM)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "rustup target add aarch64-apple-darwin"
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
rustup target add aarch64-apple-darwin
|
|
||||||
- name: "Install System Deps"
|
- name: "Install System Deps"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "env PATH=$PATH ./get-deps"
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
env PATH=$PATH ./get-deps
|
|
||||||
- name: "Build (Release mode Intel)"
|
- name: "Build (Release mode Intel)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --target x86_64-apple-darwin --all --release"
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
cargo build --target x86_64-apple-darwin --all --release
|
|
||||||
- name: "Build (Release mode ARM)"
|
- name: "Build (Release mode ARM)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --target aarch64-apple-darwin --all --release"
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
cargo build --target aarch64-apple-darwin --all --release
|
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --target x86_64-apple-darwin --all --release"
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
cargo test --target x86_64-apple-darwin --all --release
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
bash ci/deploy.sh
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
41
.github/workflows/gen_macos_continuous.yml
vendored
41
.github/workflows/gen_macos_continuous.yml
vendored
@ -21,6 +21,10 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "macos-11"
|
runs-on: "macos-11"
|
||||||
|
|
||||||
|
env:
|
||||||
|
MACOSX_DEPLOYMENT_TARGET: "10.9"
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -37,39 +41,19 @@ jobs:
|
|||||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||||
- name: "Install Rust (ARM)"
|
- name: "Install Rust (ARM)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "rustup target add aarch64-apple-darwin"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
rustup target add aarch64-apple-darwin
|
|
||||||
|
|
||||||
- name: "Install System Deps"
|
- name: "Install System Deps"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "env PATH=$PATH ./get-deps"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
env PATH=$PATH ./get-deps
|
|
||||||
|
|
||||||
- name: "Build (Release mode Intel)"
|
- name: "Build (Release mode Intel)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --target x86_64-apple-darwin --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
cargo build --target x86_64-apple-darwin --all --release
|
|
||||||
|
|
||||||
- name: "Build (Release mode ARM)"
|
- name: "Build (Release mode ARM)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --target aarch64-apple-darwin --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
cargo build --target aarch64-apple-darwin --all --release
|
|
||||||
|
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --target x86_64-apple-darwin --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
cargo test --target x86_64-apple-darwin --all --release
|
|
||||||
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
env:
|
env:
|
||||||
MACOS_CERT: ${{ secrets.MACOS_CERT }}
|
MACOS_CERT: ${{ secrets.MACOS_CERT }}
|
||||||
@ -78,11 +62,7 @@ jobs:
|
|||||||
MACOS_APPLEID: ${{ secrets.MACOS_APPLEID }}
|
MACOS_APPLEID: ${{ secrets.MACOS_APPLEID }}
|
||||||
MACOS_APP_PW: ${{ secrets.MACOS_APP_PW }}
|
MACOS_APP_PW: ${{ secrets.MACOS_APP_PW }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
bash ci/deploy.sh
|
|
||||||
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -93,6 +73,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
33
.github/workflows/gen_macos_tag.yml
vendored
33
.github/workflows/gen_macos_tag.yml
vendored
@ -9,6 +9,10 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "macos-11"
|
runs-on: "macos-11"
|
||||||
|
|
||||||
|
env:
|
||||||
|
MACOSX_DEPLOYMENT_TARGET: "10.9"
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -25,29 +29,19 @@ jobs:
|
|||||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||||
- name: "Install Rust (ARM)"
|
- name: "Install Rust (ARM)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "rustup target add aarch64-apple-darwin"
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
rustup target add aarch64-apple-darwin
|
|
||||||
- name: "Install System Deps"
|
- name: "Install System Deps"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "env PATH=$PATH ./get-deps"
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
env PATH=$PATH ./get-deps
|
|
||||||
- name: "Build (Release mode Intel)"
|
- name: "Build (Release mode Intel)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --target x86_64-apple-darwin --all --release"
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
cargo build --target x86_64-apple-darwin --all --release
|
|
||||||
- name: "Build (Release mode ARM)"
|
- name: "Build (Release mode ARM)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --target aarch64-apple-darwin --all --release"
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
cargo build --target aarch64-apple-darwin --all --release
|
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --target x86_64-apple-darwin --all --release"
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
cargo test --target x86_64-apple-darwin --all --release
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
env:
|
env:
|
||||||
MACOS_CERT: ${{ secrets.MACOS_CERT }}
|
MACOS_CERT: ${{ secrets.MACOS_CERT }}
|
||||||
@ -56,9 +50,7 @@ jobs:
|
|||||||
MACOS_APPLEID: ${{ secrets.MACOS_APPLEID }}
|
MACOS_APPLEID: ${{ secrets.MACOS_APPLEID }}
|
||||||
MACOS_APP_PW: ${{ secrets.MACOS_APP_PW }}
|
MACOS_APP_PW: ${{ secrets.MACOS_APP_PW }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
bash ci/deploy.sh
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -72,9 +64,7 @@ jobs:
|
|||||||
token: "${{ secrets.GH_PAT }}"
|
token: "${{ secrets.GH_PAT }}"
|
||||||
- name: "Update homebrew tap formula"
|
- name: "Update homebrew tap formula"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cp wezterm.rb homebrew-wezterm/Casks/wezterm.rb"
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
||||||
cp wezterm.rb homebrew-wezterm/Casks/wezterm.rb
|
|
||||||
- name: "Commit homebrew tap changes"
|
- name: "Commit homebrew tap changes"
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
@ -84,6 +74,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
1
.github/workflows/gen_ubuntu18.yml
vendored
1
.github/workflows/gen_ubuntu18.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-18.04"
|
runs-on: "ubuntu-18.04"
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Update APT"
|
- name: "Update APT"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
36
.github/workflows/gen_ubuntu18_continuous.yml
vendored
36
.github/workflows/gen_ubuntu18_continuous.yml
vendored
@ -21,17 +21,16 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-18.04"
|
runs-on: "ubuntu-18.04"
|
||||||
|
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Update APT"
|
- name: "Update APT"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "sudo -n apt update"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
sudo -n apt update
|
|
||||||
- name: "Install git"
|
- name: "Install git"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "sudo -n apt-get install -y git"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
sudo -n apt-get install -y git
|
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -55,34 +54,22 @@ jobs:
|
|||||||
key: "ubuntu18-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
key: "ubuntu18-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||||
- name: "Install System Deps"
|
- name: "Install System Deps"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "sudo -n env PATH=$PATH ./get-deps"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
sudo -n env PATH=$PATH ./get-deps
|
|
||||||
- name: "Build (Release mode)"
|
- name: "Build (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo build --all --release
|
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo test --all --release
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
bash ci/deploy.sh
|
|
||||||
- name: "Source Tarball"
|
- name: "Source Tarball"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/source-archive.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
bash ci/source-archive.sh
|
|
||||||
- name: "Build AppImage"
|
- name: "Build AppImage"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/appimage.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
bash ci/appimage.sh
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -98,6 +85,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
4
.github/workflows/gen_ubuntu18_tag.yml
vendored
4
.github/workflows/gen_ubuntu18_tag.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-18.04"
|
runs-on: "ubuntu-18.04"
|
||||||
|
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Update APT"
|
- name: "Update APT"
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -83,6 +86,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
1
.github/workflows/gen_ubuntu20.04.yml
vendored
1
.github/workflows/gen_ubuntu20.04.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "ubuntu:20.04"
|
container: "ubuntu:20.04"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "set APT to non-interactive"
|
- name: "set APT to non-interactive"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
52
.github/workflows/gen_ubuntu20.04_continuous.yml
vendored
52
.github/workflows/gen_ubuntu20.04_continuous.yml
vendored
@ -21,47 +21,34 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "ubuntu:20.04"
|
container: "ubuntu:20.04"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "set APT to non-interactive"
|
- name: "set APT to non-interactive"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
||||||
- name: "Update APT"
|
- name: "Update APT"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt update"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt update
|
|
||||||
- name: "Install git"
|
- name: "Install git"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt-get install -y git"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt-get install -y git
|
|
||||||
- name: "Install curl"
|
- name: "Install curl"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt-get install -y curl"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt-get install -y curl
|
|
||||||
- name: "Update APT"
|
- name: "Update APT"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt update"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt update
|
|
||||||
- name: "Ensure /run/sshd exists"
|
- name: "Ensure /run/sshd exists"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "mkdir -p /run/sshd"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
mkdir -p /run/sshd
|
|
||||||
- name: "Install openssh-server"
|
- name: "Install openssh-server"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "apt-get install -y openssh-server"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
apt-get install -y openssh-server
|
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
git config --global --add safe.directory /__w/wezterm/wezterm
|
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -85,24 +72,16 @@ jobs:
|
|||||||
key: "ubuntu20.04-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
key: "ubuntu20.04-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||||
- name: "Install System Deps"
|
- name: "Install System Deps"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "env PATH=$PATH ./get-deps"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
env PATH=$PATH ./get-deps
|
|
||||||
- name: "Build (Release mode)"
|
- name: "Build (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo build --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo build --all --release
|
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo test --all --release
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
bash ci/deploy.sh
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -115,6 +94,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
4
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
4
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "ubuntu:20.04"
|
container: "ubuntu:20.04"
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "set APT to non-interactive"
|
- name: "set APT to non-interactive"
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -78,6 +81,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Workaround git permissions issue"
|
- name: "Workaround git permissions issue"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
1
.github/workflows/gen_windows.yml
vendored
1
.github/workflows/gen_windows.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "windows-latest"
|
runs-on: "windows-latest"
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
12
.github/workflows/gen_windows_continuous.yml
vendored
12
.github/workflows/gen_windows_continuous.yml
vendored
@ -21,6 +21,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "windows-latest"
|
runs-on: "windows-latest"
|
||||||
|
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -52,14 +55,10 @@ jobs:
|
|||||||
cargo build --all --release
|
cargo build --all --release
|
||||||
- name: "Test (Release mode)"
|
- name: "Test (Release mode)"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "cargo test --all --release"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
cargo test --all --release
|
|
||||||
- name: "Package"
|
- name: "Package"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: "bash ci/deploy.sh"
|
||||||
export BUILD_REASON=Schedule
|
|
||||||
bash ci/deploy.sh
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -72,6 +71,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
4
.github/workflows/gen_windows_tag.yml
vendored
4
.github/workflows/gen_windows_tag.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: "windows-latest"
|
runs-on: "windows-latest"
|
||||||
|
|
||||||
|
env:
|
||||||
|
BUILD_REASON: "Schedule"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -55,6 +58,7 @@ jobs:
|
|||||||
upload:
|
upload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "checkout repo"
|
- name: "checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user