Skip to content

Commit

Permalink
ci: s/fedora36/fedora39/
Browse files Browse the repository at this point in the history
CI just failed to build fedora36, which is now EOL, and fedora39 is out.
  • Loading branch information
wez committed Nov 25, 2023
1 parent 6a58a5c commit f07cc83
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: fedora36
name: fedora39

on:
pull_request:
Expand All @@ -8,7 +8,7 @@ on:
- "**/*.rs"
- "**/Cargo.lock"
- "**/Cargo.toml"
- ".github/workflows/gen_fedora36.yml"
- ".github/workflows/gen_fedora39.yml"
- "assets/fonts/**/*"
- "assets/icon/*"
- "assets/open-wezterm-here"
Expand All @@ -25,7 +25,7 @@ on:
jobs:
build:
runs-on: "ubuntu-latest"
container: "fedora:36"
container: "fedora:39"

steps:
- name: "Install config manager"
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: "Cache cargo"
uses: Swatinem/rust-cache@v2
with:
key: "fedora36-None-2-${{ runner.os }}-cargo"
key: "fedora39-None-2-${{ runner.os }}-cargo"
- name: "Install System Deps"
shell: bash
run: "env CI=yes PATH=$PATH ./get-deps"
Expand All @@ -66,7 +66,7 @@ jobs:
uses: baptiste0928/cargo-install@v2
with:
crate: "cargo-nextest"
cache-key: "fedora36"
cache-key: "fedora39"
- name: "Test (Release mode)"
shell: bash
run: "cargo nextest run --all --release --no-fail-fast"
Expand All @@ -79,5 +79,5 @@ jobs:
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
name: "fedora36"
name: "fedora39"
path: "wezterm-*.rpm"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: fedora36_continuous
name: fedora39_continuous

on:
schedule:
Expand All @@ -10,7 +10,7 @@ on:
- "**/*.rs"
- "**/Cargo.lock"
- "**/Cargo.toml"
- ".github/workflows/gen_fedora36_continuous.yml"
- ".github/workflows/gen_fedora39_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:36"
container: "fedora:39"
env:
BUILD_REASON: "Schedule"

Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: "Cache cargo"
uses: Swatinem/rust-cache@v2
with:
key: "fedora36-None-2-${{ runner.os }}-cargo"
key: "fedora39-None-2-${{ runner.os }}-cargo"
- name: "Install System Deps"
shell: bash
run: "env CI=yes PATH=$PATH ./get-deps"
Expand All @@ -70,7 +70,7 @@ jobs:
uses: baptiste0928/cargo-install@v2
with:
crate: "cargo-nextest"
cache-key: "fedora36"
cache-key: "fedora39"
- name: "Test (Release mode)"
shell: bash
run: "cargo nextest run --all --release --no-fail-fast"
Expand All @@ -79,11 +79,11 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Move RPM"
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora36.rpm"
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora39.rpm"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
name: "fedora36"
name: "fedora39"
path: "wezterm-*.rpm"
retention-days: 5

Expand All @@ -100,7 +100,7 @@ jobs:
- name: "Download artifact"
uses: actions/download-artifact@v3
with:
name: "fedora36"
name: "fedora39"
- 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: fedora36_tag
name: fedora39_tag

on:
push:
Expand All @@ -8,7 +8,7 @@ on:
jobs:
build:
runs-on: "ubuntu-latest"
container: "fedora:36"
container: "fedora:39"

steps:
- name: "Install config manager"
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
- name: "Cache cargo"
uses: Swatinem/rust-cache@v2
with:
key: "fedora36-None-2-${{ runner.os }}-cargo"
key: "fedora39-None-2-${{ runner.os }}-cargo"
- name: "Install System Deps"
shell: bash
run: "env CI=yes PATH=$PATH ./get-deps"
Expand All @@ -49,7 +49,7 @@ jobs:
uses: baptiste0928/cargo-install@v2
with:
crate: "cargo-nextest"
cache-key: "fedora36"
cache-key: "fedora39"
- name: "Test (Release mode)"
shell: bash
run: "cargo nextest run --all --release --no-fail-fast"
Expand All @@ -62,7 +62,7 @@ jobs:
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
name: "fedora36"
name: "fedora39"
path: "wezterm-*.rpm"

upload:
Expand All @@ -78,7 +78,7 @@ jobs:
- name: "Download artifact"
uses: actions/download-artifact@v3
with:
name: "fedora36"
name: "fedora39"
- 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 @@ -946,9 +946,9 @@ def tag(self):
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:36"),
Target(container="fedora:37"),
Target(container="fedora:38"),
Target(container="fedora:39"),
# Target(container="alpine:3.15"),
Target(name="windows", os="windows-latest", rust_target="x86_64-pc-windows-msvc"),
]
Expand Down
3 changes: 2 additions & 1 deletion docs/install/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,10 @@ on most Linux systems.
|CentOS7 |[{{ centos7_rpm_stable_asset }}]({{ centos7_rpm_stable }}) |[{{ centos7_rpm_nightly_asset }}]({{ centos7_rpm_nightly }})|
|CentOS8 |[{{ centos8_rpm_stable_asset }}]({{ centos8_rpm_stable }}) |[{{ centos8_rpm_nightly_asset }}]({{ centos8_rpm_nightly }})|
|CentOS9 |[{{ centos9_rpm_stable_asset }}]({{ centos9_rpm_stable }})|[{{ centos9_rpm_nightly_asset }}]({{ centos9_rpm_nightly }})|
|Fedora36 |[{{ fedora36_rpm_stable_asset }}]({{ fedora36_rpm_stable }})|[{{ fedora36_rpm_nightly_asset }}]({{ fedora36_rpm_nightly }})|
|Fedora36 |[{{ fedora36_rpm_stable_asset }}]({{ fedora36_rpm_stable }})|No longer supported|
|Fedora37 |[{{ fedora37_rpm_stable_asset }}]({{ fedora37_rpm_stable }})|[{{ fedora37_rpm_nightly_asset }}]({{ fedora37_rpm_nightly }})|
|Fedora38 |[{{ fedora38_rpm_stable_asset }}]({{ fedora38_rpm_stable }})|[{{ fedora38_rpm_nightly_asset }}]({{ fedora38_rpm_nightly }})|
|Fedora39 |Nightly only|[{{ fedora39_rpm_nightly_asset }}]({{ fedora39_rpm_nightly }})|
|openSUSE Leap |[{{ opensuse_leap_rpm_stable_asset }}]({{ opensuse_leap_rpm_stable }})|Use COPR instead|
|openSUSE Tumbleweed |[{{ opensuse_tumbleweed_rpm_stable_asset }}]({{ opensuse_tumbleweed_rpm_stable }})|Use COPR instead|

Expand Down

0 comments on commit f07cc83

Please sign in to comment.