From 9f620e16de3f36cb1165aa0c867731dde6e72144 Mon Sep 17 00:00:00 2001 From: Daniele Guarascio Date: Wed, 18 Sep 2024 15:19:52 +0200 Subject: [PATCH] Add CI for Fedora Linux 41, drop Fedora Linux 38 as it's EOL --- .../{gen_fedora38.yml => gen_fedora41.yml} | 10 +++++----- ..._continuous.yml => gen_fedora41_continuous.yml} | 14 +++++++------- .../{gen_fedora38_tag.yml => gen_fedora41_tag.yml} | 10 +++++----- ci/generate-workflows.py | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) rename .github/workflows/{gen_fedora38.yml => gen_fedora41.yml} (95%) rename .github/workflows/{gen_fedora38_continuous.yml => gen_fedora41_continuous.yml} (93%) rename .github/workflows/{gen_fedora38_tag.yml => gen_fedora41_tag.yml} (96%) diff --git a/.github/workflows/gen_fedora38.yml b/.github/workflows/gen_fedora41.yml similarity index 95% rename from .github/workflows/gen_fedora38.yml rename to .github/workflows/gen_fedora41.yml index 7c8de620767..c4a3c2c7c6e 100644 --- a/.github/workflows/gen_fedora38.yml +++ b/.github/workflows/gen_fedora41.yml @@ -1,4 +1,4 @@ -name: fedora38 +name: fedora41 on: pull_request: @@ -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" @@ -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" @@ -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" @@ -102,5 +102,5 @@ jobs: - name: "Upload artifact" uses: actions/upload-artifact@v4 with: - name: "fedora38" + name: "fedora41" path: "wezterm-*.rpm" diff --git a/.github/workflows/gen_fedora38_continuous.yml b/.github/workflows/gen_fedora41_continuous.yml similarity index 93% rename from .github/workflows/gen_fedora38_continuous.yml rename to .github/workflows/gen_fedora41_continuous.yml index fb1777522f3..8b748e73968 100644 --- a/.github/workflows/gen_fedora38_continuous.yml +++ b/.github/workflows/gen_fedora41_continuous.yml @@ -1,4 +1,4 @@ -name: fedora38_continuous +name: fedora41_continuous on: schedule: @@ -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" @@ -27,7 +27,7 @@ on: jobs: build: runs-on: "ubuntu-latest" - container: "fedora:38" + container: "fedora:41" env: BUILD_REASON: "Schedule" CARGO_INCREMENTAL: "0" @@ -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" @@ -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 @@ -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" diff --git a/.github/workflows/gen_fedora38_tag.yml b/.github/workflows/gen_fedora41_tag.yml similarity index 96% rename from .github/workflows/gen_fedora38_tag.yml rename to .github/workflows/gen_fedora41_tag.yml index 564af3eb79e..4f80d8d6244 100644 --- a/.github/workflows/gen_fedora38_tag.yml +++ b/.github/workflows/gen_fedora41_tag.yml @@ -1,4 +1,4 @@ -name: fedora38_tag +name: fedora41_tag on: push: @@ -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" @@ -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" @@ -85,7 +85,7 @@ jobs: - name: "Upload artifact" uses: actions/upload-artifact@v4 with: - name: "fedora38" + name: "fedora41" path: "wezterm-*.rpm" upload: @@ -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" diff --git a/ci/generate-workflows.py b/ci/generate-workflows.py index b83255bbf78..1ae9fe1151a 100755 --- a/ci/generate-workflows.py +++ b/ci/generate-workflows.py @@ -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"), ]