Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI for Fedora Linux 41, drop Fedora Linux 38 as it's EOL #6156

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: fedora38
name: fedora41

on:
pull_request:
Expand All @@ -8,7 +8,7 @@ on:
- "**/*.rs"
- "**/Cargo.lock"
- "**/Cargo.toml"
- ".github/workflows/gen_fedora38.yml"
- ".github/workflows/gen_fedora41.yml"
- "assets/fonts/**/*"
- "assets/icon/*"
- "assets/open-wezterm-here"
Expand All @@ -25,7 +25,7 @@ on:
jobs:
build:
runs-on: "ubuntu-latest"
container: "fedora:38"
container: "fedora:41"
env:
CARGO_INCREMENTAL: "0"
SCCACHE_GHA_ENABLED: "true"
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
uses: baptiste0928/cargo-install@v3
with:
crate: "cargo-nextest"
cache-key: "fedora38"
cache-key: "fedora41"
- name: "Test"
shell: bash
run: "cargo nextest run --all --no-fail-fast"
Expand All @@ -102,5 +102,5 @@ jobs:
- name: "Upload artifact"
uses: actions/upload-artifact@v4
with:
name: "fedora38"
name: "fedora41"
path: "wezterm-*.rpm"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: fedora38_continuous
name: fedora41_continuous

on:
schedule:
Expand All @@ -10,7 +10,7 @@ on:
- "**/*.rs"
- "**/Cargo.lock"
- "**/Cargo.toml"
- ".github/workflows/gen_fedora38_continuous.yml"
- ".github/workflows/gen_fedora41_continuous.yml"
- "assets/fonts/**/*"
- "assets/icon/*"
- "assets/open-wezterm-here"
Expand All @@ -27,7 +27,7 @@ on:
jobs:
build:
runs-on: "ubuntu-latest"
container: "fedora:38"
container: "fedora:41"
env:
BUILD_REASON: "Schedule"
CARGO_INCREMENTAL: "0"
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
uses: baptiste0928/cargo-install@v3
with:
crate: "cargo-nextest"
cache-key: "fedora38"
cache-key: "fedora41"
- name: "Test"
shell: bash
run: "cargo nextest run --all --no-fail-fast"
Expand All @@ -101,11 +101,11 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Move RPM"
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora38.rpm"
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora41.rpm"
- name: "Upload artifact"
uses: actions/upload-artifact@v4
with:
name: "fedora38"
name: "fedora41"
path: "wezterm-*.rpm"
retention-days: 5

Expand All @@ -122,7 +122,7 @@ jobs:
- name: "Download artifact"
uses: actions/download-artifact@v4
with:
name: "fedora38"
name: "fedora41"
- name: "Checksum"
shell: bash
run: "for f in wezterm-*.rpm ; do sha256sum $f > $f.sha256 ; done"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: fedora38_tag
name: fedora41_tag

on:
push:
Expand All @@ -8,7 +8,7 @@ on:
jobs:
build:
runs-on: "ubuntu-latest"
container: "fedora:38"
container: "fedora:41"
env:
CARGO_INCREMENTAL: "0"
SCCACHE_GHA_ENABLED: "true"
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
uses: baptiste0928/cargo-install@v3
with:
crate: "cargo-nextest"
cache-key: "fedora38"
cache-key: "fedora41"
- name: "Test"
shell: bash
run: "cargo nextest run --all --no-fail-fast"
Expand All @@ -85,7 +85,7 @@ jobs:
- name: "Upload artifact"
uses: actions/upload-artifact@v4
with:
name: "fedora38"
name: "fedora41"
path: "wezterm-*.rpm"

upload:
Expand All @@ -101,7 +101,7 @@ jobs:
- name: "Download artifact"
uses: actions/download-artifact@v4
with:
name: "fedora38"
name: "fedora41"
- name: "Checksum"
shell: bash
run: "for f in wezterm-*.rpm ; do sha256sum $f > $f.sha256 ; done"
Expand Down
2 changes: 1 addition & 1 deletion ci/generate-workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -1009,9 +1009,9 @@ def tag(self):
Target(name="centos9", container="quay.io/centos/centos:stream9"),
Target(name="macos", os="macos-latest"),
# https://fedoraproject.org/wiki/End_of_life?rd=LifeCycle/EOL
Target(container="fedora:38"),
Target(container="fedora:39"),
Target(container="fedora:40"),
Target(container="fedora:41"),
# Target(container="alpine:3.15"),
Target(name="windows", os="windows-latest", rust_target="x86_64-pc-windows-msvc"),
]
Expand Down
Loading