ci: rm fedora 35, add fedora 38

This commit is contained in:
Wez Furlong committed 2023-04-19 21:51:17 -07:00
1 parent d5eee1817a
commit af2df3e8f3
5 files changed
+25 -24

No files matched your search

@@ -1,4 +1,4 @@
name: fedora35
name: fedora38
on:
pull_request:
@@ -8,7 +8,7 @@ on:
- "**/*.rs"
- "**/Cargo.lock"
- "**/Cargo.toml"
- ".github/workflows/gen_fedora35.yml"
- ".github/workflows/gen_fedora38.yml"
- "assets/fonts/**/*"
- "assets/icon/*"
- "assets/open-wezterm-here"
@@ -25,7 +25,7 @@ on:
jobs:
build:
runs-on: "ubuntu-latest"
container: "fedora:35"
container: "fedora:38"
steps:
- name: "Install config manager"
@@ -55,7 +55,7 @@ jobs:
- name: "Cache cargo"
uses: Swatinem/rust-cache@v2
with:
key: "fedora35-None-2-${{ runner.os }}-cargo"
key: "fedora38-None-2-${{ runner.os }}-cargo"
- name: "Install System Deps"
shell: bash
run: "env CI=yes PATH=$PATH ./get-deps"
@@ -66,7 +66,7 @@ jobs:
uses: baptiste0928/cargo-install@v2
with:
crate: "cargo-nextest"
cache-key: "fedora35"
cache-key: "fedora38"
- name: "Test (Release mode)"
shell: bash
run: "cargo nextest run --all --release --no-fail-fast"
@@ -79,5 +79,5 @@ jobs:
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
name: "fedora35"
name: "fedora38"
path: "wezterm-*.rpm"
@@ -1,4 +1,4 @@
name: fedora35_continuous
name: fedora38_continuous
on:
schedule:
@@ -10,7 +10,7 @@ on:
- "**/*.rs"
- "**/Cargo.lock"
- "**/Cargo.toml"
- ".github/workflows/gen_fedora35_continuous.yml"
- ".github/workflows/gen_fedora38_continuous.yml"
- "assets/fonts/**/*"
- "assets/icon/*"
- "assets/open-wezterm-here"
@@ -27,7 +27,7 @@ on:
jobs:
build:
runs-on: "ubuntu-latest"
container: "fedora:35"
container: "fedora:38"
env:
BUILD_REASON: "Schedule"
@@ -59,7 +59,7 @@ jobs:
- name: "Cache cargo"
uses: Swatinem/rust-cache@v2
with:
key: "fedora35-None-2-${{ runner.os }}-cargo"
key: "fedora38-None-2-${{ runner.os }}-cargo"
- name: "Install System Deps"
shell: bash
run: "env CI=yes PATH=$PATH ./get-deps"
@@ -70,7 +70,7 @@ jobs:
uses: baptiste0928/cargo-install@v2
with:
crate: "cargo-nextest"
cache-key: "fedora35"
cache-key: "fedora38"
- name: "Test (Release mode)"
shell: bash
run: "cargo nextest run --all --release --no-fail-fast"
@@ -79,11 +79,11 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Move RPM"
shell: bash
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora35.rpm"
run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora38.rpm"
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
name: "fedora35"
name: "fedora38"
path: "wezterm-*.rpm"
retention-days: 5
@@ -100,7 +100,7 @@ jobs:
- name: "Download artifact"
uses: actions/download-artifact@v3
with:
name: "fedora35"
name: "fedora38"
- name: "Checksum"
shell: bash
run: "for f in wezterm-*.rpm ; do sha256sum $f > $f.sha256 ; done"
@@ -1,4 +1,4 @@
name: fedora35_tag
name: fedora38_tag
on:
push:
@@ -8,7 +8,7 @@ on:
jobs:
build:
runs-on: "ubuntu-latest"
container: "fedora:35"
container: "fedora:38"
steps:
- name: "Install config manager"
@@ -38,7 +38,7 @@ jobs:
- name: "Cache cargo"
uses: Swatinem/rust-cache@v2
with:
key: "fedora35-None-2-${{ runner.os }}-cargo"
key: "fedora38-None-2-${{ runner.os }}-cargo"
- name: "Install System Deps"
shell: bash
run: "env CI=yes PATH=$PATH ./get-deps"
@@ -49,7 +49,7 @@ jobs:
uses: baptiste0928/cargo-install@v2
with:
crate: "cargo-nextest"
cache-key: "fedora35"
cache-key: "fedora38"
- name: "Test (Release mode)"
shell: bash
run: "cargo nextest run --all --release --no-fail-fast"
@@ -62,7 +62,7 @@ jobs:
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
name: "fedora35"
name: "fedora38"
path: "wezterm-*.rpm"
upload:
@@ -78,7 +78,7 @@ jobs:
- name: "Download artifact"
uses: actions/download-artifact@v3
with:
name: "fedora35"
name: "fedora38"
- name: "Checksum"
shell: bash
run: "for f in wezterm-*.rpm ; do sha256sum $f > $f.sha256 ; done"