1
1
mirror of https://github.com/wez/wezterm.git synced 2024-07-14 17:40:26 +03:00

ci: Update Fedora versions.

Fedora 40 was released, Fedora 37 is EOL.
This commit is contained in:
Bogdan-Cristian Tătăroiu 2024-05-20 13:39:48 +01:00 committed by Wez Furlong
parent 993eb9f3a9
commit da2d0ad267
4 changed files with 18 additions and 18 deletions

View File

@ -1,4 +1,4 @@
name: fedora37
name: fedora40
on:
pull_request:
@ -8,7 +8,7 @@ on:
- "**/*.rs"
- "**/Cargo.lock"
- "**/Cargo.toml"
- ".github/workflows/gen_fedora37.yml"
- ".github/workflows/gen_fedora40.yml"
- "assets/fonts/**/*"
- "assets/icon/*"
- "assets/open-wezterm-here"
@ -25,7 +25,7 @@ on:
jobs:
build:
runs-on: "ubuntu-latest"
container: "fedora:37"
container: "fedora:40"
env:
CARGO_INCREMENTAL: "0"
SCCACHE_GHA_ENABLED: "true"
@ -89,7 +89,7 @@ jobs:
uses: baptiste0928/cargo-install@v3
with:
crate: "cargo-nextest"
cache-key: "fedora37"
cache-key: "fedora40"
- name: "Test"
shell: bash
run: "cargo nextest run --all --no-fail-fast"
@ -102,5 +102,5 @@ jobs:
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
name: "fedora37"
name: "fedora40"
path: "wezterm-*.rpm"

View File

@ -1,4 +1,4 @@
name: fedora37_continuous
name: fedora40_continuous
on:
schedule:
@ -10,7 +10,7 @@ on:
- "**/*.rs"
- "**/Cargo.lock"
- "**/Cargo.toml"
- ".github/workflows/gen_fedora37_continuous.yml"
- ".github/workflows/gen_fedora40_continuous.yml"
- "assets/fonts/**/*"
- "assets/icon/*"
- "assets/open-wezterm-here"
@ -27,7 +27,7 @@ on:
jobs:
build:
runs-on: "ubuntu-latest"
container: "fedora:37"
container: "fedora:40"
env:
BUILD_REASON: "Schedule"
CARGO_INCREMENTAL: "0"
@ -92,7 +92,7 @@ jobs:
uses: baptiste0928/cargo-install@v3
with:
crate: "cargo-nextest"
cache-key: "fedora37"
cache-key: "fedora40"
- 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-fedora37.rpm"
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora40.rpm"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
name: "fedora37"
name: "fedora40"
path: "wezterm-*.rpm"
retention-days: 5
@ -122,7 +122,7 @@ jobs:
- name: "Download artifact"
uses: actions/download-artifact@v3
with:
name: "fedora37"
name: "fedora40"
- name: "Checksum"
shell: bash
run: "for f in wezterm-*.rpm ; do sha256sum $f > $f.sha256 ; done"

View File

@ -1,4 +1,4 @@
name: fedora37_tag
name: fedora40_tag
on:
push:
@ -8,7 +8,7 @@ on:
jobs:
build:
runs-on: "ubuntu-latest"
container: "fedora:37"
container: "fedora:40"
env:
CARGO_INCREMENTAL: "0"
SCCACHE_GHA_ENABLED: "true"
@ -72,7 +72,7 @@ jobs:
uses: baptiste0928/cargo-install@v3
with:
crate: "cargo-nextest"
cache-key: "fedora37"
cache-key: "fedora40"
- name: "Test"
shell: bash
run: "cargo nextest run --all --no-fail-fast"
@ -85,7 +85,7 @@ jobs:
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
name: "fedora37"
name: "fedora40"
path: "wezterm-*.rpm"
upload:
@ -101,7 +101,7 @@ jobs:
- name: "Download artifact"
uses: actions/download-artifact@v3
with:
name: "fedora37"
name: "fedora40"
- name: "Checksum"
shell: bash
run: "for f in wezterm-*.rpm ; do sha256sum $f > $f.sha256 ; done"

View File

@ -1005,9 +1005,9 @@ TARGETS = [
Target(name="centos9", container="quay.io/centos/centos:stream9"),
Target(name="macos", os="macos-11"),
# https://fedoraproject.org/wiki/End_of_life?rd=LifeCycle/EOL
Target(container="fedora:37"),
Target(container="fedora:38"),
Target(container="fedora:39"),
Target(container="fedora:40"),
# Target(container="alpine:3.15"),
Target(name="windows", os="windows-latest", rust_target="x86_64-pc-windows-msvc"),
]