mirror of
https://github.com/wez/wezterm.git
synced 2024-09-11 14:25:57 +03:00
ci: Update Fedora versions.
Fedora 40 was released, Fedora 37 is EOL.
This commit is contained in:
parent
993eb9f3a9
commit
da2d0ad267
@ -1,4 +1,4 @@
|
|||||||
name: fedora37
|
name: fedora40
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -8,7 +8,7 @@ on:
|
|||||||
- "**/*.rs"
|
- "**/*.rs"
|
||||||
- "**/Cargo.lock"
|
- "**/Cargo.lock"
|
||||||
- "**/Cargo.toml"
|
- "**/Cargo.toml"
|
||||||
- ".github/workflows/gen_fedora37.yml"
|
- ".github/workflows/gen_fedora40.yml"
|
||||||
- "assets/fonts/**/*"
|
- "assets/fonts/**/*"
|
||||||
- "assets/icon/*"
|
- "assets/icon/*"
|
||||||
- "assets/open-wezterm-here"
|
- "assets/open-wezterm-here"
|
||||||
@ -25,7 +25,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "fedora:37"
|
container: "fedora:40"
|
||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: "0"
|
CARGO_INCREMENTAL: "0"
|
||||||
SCCACHE_GHA_ENABLED: "true"
|
SCCACHE_GHA_ENABLED: "true"
|
||||||
@ -89,7 +89,7 @@ jobs:
|
|||||||
uses: baptiste0928/cargo-install@v3
|
uses: baptiste0928/cargo-install@v3
|
||||||
with:
|
with:
|
||||||
crate: "cargo-nextest"
|
crate: "cargo-nextest"
|
||||||
cache-key: "fedora37"
|
cache-key: "fedora40"
|
||||||
- name: "Test"
|
- name: "Test"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: "cargo nextest run --all --no-fail-fast"
|
run: "cargo nextest run --all --no-fail-fast"
|
||||||
@ -102,5 +102,5 @@ jobs:
|
|||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "fedora37"
|
name: "fedora40"
|
||||||
path: "wezterm-*.rpm"
|
path: "wezterm-*.rpm"
|
@ -1,4 +1,4 @@
|
|||||||
name: fedora37_continuous
|
name: fedora40_continuous
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
@ -10,7 +10,7 @@ on:
|
|||||||
- "**/*.rs"
|
- "**/*.rs"
|
||||||
- "**/Cargo.lock"
|
- "**/Cargo.lock"
|
||||||
- "**/Cargo.toml"
|
- "**/Cargo.toml"
|
||||||
- ".github/workflows/gen_fedora37_continuous.yml"
|
- ".github/workflows/gen_fedora40_continuous.yml"
|
||||||
- "assets/fonts/**/*"
|
- "assets/fonts/**/*"
|
||||||
- "assets/icon/*"
|
- "assets/icon/*"
|
||||||
- "assets/open-wezterm-here"
|
- "assets/open-wezterm-here"
|
||||||
@ -27,7 +27,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "fedora:37"
|
container: "fedora:40"
|
||||||
env:
|
env:
|
||||||
BUILD_REASON: "Schedule"
|
BUILD_REASON: "Schedule"
|
||||||
CARGO_INCREMENTAL: "0"
|
CARGO_INCREMENTAL: "0"
|
||||||
@ -92,7 +92,7 @@ jobs:
|
|||||||
uses: baptiste0928/cargo-install@v3
|
uses: baptiste0928/cargo-install@v3
|
||||||
with:
|
with:
|
||||||
crate: "cargo-nextest"
|
crate: "cargo-nextest"
|
||||||
cache-key: "fedora37"
|
cache-key: "fedora40"
|
||||||
- name: "Test"
|
- name: "Test"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: "cargo nextest run --all --no-fail-fast"
|
run: "cargo nextest run --all --no-fail-fast"
|
||||||
@ -101,11 +101,11 @@ jobs:
|
|||||||
run: "bash ci/deploy.sh"
|
run: "bash ci/deploy.sh"
|
||||||
- name: "Move RPM"
|
- name: "Move RPM"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora37.rpm"
|
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora40.rpm"
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "fedora37"
|
name: "fedora40"
|
||||||
path: "wezterm-*.rpm"
|
path: "wezterm-*.rpm"
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|
||||||
@ -122,7 +122,7 @@ jobs:
|
|||||||
- name: "Download artifact"
|
- name: "Download artifact"
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "fedora37"
|
name: "fedora40"
|
||||||
- name: "Checksum"
|
- name: "Checksum"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: "for f in wezterm-*.rpm ; do sha256sum $f > $f.sha256 ; done"
|
run: "for f in wezterm-*.rpm ; do sha256sum $f > $f.sha256 ; done"
|
@ -1,4 +1,4 @@
|
|||||||
name: fedora37_tag
|
name: fedora40_tag
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -8,7 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container: "fedora:37"
|
container: "fedora:40"
|
||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: "0"
|
CARGO_INCREMENTAL: "0"
|
||||||
SCCACHE_GHA_ENABLED: "true"
|
SCCACHE_GHA_ENABLED: "true"
|
||||||
@ -72,7 +72,7 @@ jobs:
|
|||||||
uses: baptiste0928/cargo-install@v3
|
uses: baptiste0928/cargo-install@v3
|
||||||
with:
|
with:
|
||||||
crate: "cargo-nextest"
|
crate: "cargo-nextest"
|
||||||
cache-key: "fedora37"
|
cache-key: "fedora40"
|
||||||
- name: "Test"
|
- name: "Test"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: "cargo nextest run --all --no-fail-fast"
|
run: "cargo nextest run --all --no-fail-fast"
|
||||||
@ -85,7 +85,7 @@ jobs:
|
|||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "fedora37"
|
name: "fedora40"
|
||||||
path: "wezterm-*.rpm"
|
path: "wezterm-*.rpm"
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
@ -101,7 +101,7 @@ jobs:
|
|||||||
- name: "Download artifact"
|
- name: "Download artifact"
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: "fedora37"
|
name: "fedora40"
|
||||||
- name: "Checksum"
|
- name: "Checksum"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: "for f in wezterm-*.rpm ; do sha256sum $f > $f.sha256 ; done"
|
run: "for f in wezterm-*.rpm ; do sha256sum $f > $f.sha256 ; done"
|
@ -1005,9 +1005,9 @@ TARGETS = [
|
|||||||
Target(name="centos9", container="quay.io/centos/centos:stream9"),
|
Target(name="centos9", container="quay.io/centos/centos:stream9"),
|
||||||
Target(name="macos", os="macos-11"),
|
Target(name="macos", os="macos-11"),
|
||||||
# https://fedoraproject.org/wiki/End_of_life?rd=LifeCycle/EOL
|
# https://fedoraproject.org/wiki/End_of_life?rd=LifeCycle/EOL
|
||||||
Target(container="fedora:37"),
|
|
||||||
Target(container="fedora:38"),
|
Target(container="fedora:38"),
|
||||||
Target(container="fedora:39"),
|
Target(container="fedora:39"),
|
||||||
|
Target(container="fedora:40"),
|
||||||
# Target(container="alpine:3.15"),
|
# Target(container="alpine:3.15"),
|
||||||
Target(name="windows", os="windows-latest", rust_target="x86_64-pc-windows-msvc"),
|
Target(name="windows", os="windows-latest", rust_target="x86_64-pc-windows-msvc"),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user