mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-28 16:14:16 +02:00
ci: replace windows-2019 runner with windows-2022 (#1756)
As it's deprecated and causing problems.
This commit is contained in:
parent
16b805b0a2
commit
4605e88927
12
.github/workflows/build_releases.yml
vendored
12
.github/workflows/build_releases.yml
vendored
@ -84,13 +84,13 @@ jobs:
|
|||||||
|
|
||||||
# Windows (x86-64, x86)
|
# Windows (x86-64, x86)
|
||||||
- {
|
- {
|
||||||
os: "windows-2019",
|
os: "windows-2022",
|
||||||
target: "x86_64-pc-windows-msvc",
|
target: "x86_64-pc-windows-msvc",
|
||||||
cross: false,
|
cross: false,
|
||||||
}
|
}
|
||||||
- { os: "windows-2019", target: "i686-pc-windows-msvc", cross: false }
|
- { os: "windows-2022", target: "i686-pc-windows-msvc", cross: false }
|
||||||
- {
|
- {
|
||||||
os: "windows-2019",
|
os: "windows-2022",
|
||||||
target: "x86_64-pc-windows-gnu",
|
target: "x86_64-pc-windows-gnu",
|
||||||
cross: false,
|
cross: false,
|
||||||
}
|
}
|
||||||
@ -165,7 +165,7 @@ jobs:
|
|||||||
mv "$MANPAGE_DIR" manpage
|
mv "$MANPAGE_DIR" manpage
|
||||||
|
|
||||||
- name: Bundle release and completion (Windows)
|
- name: Bundle release and completion (Windows)
|
||||||
if: matrix.info.os == 'windows-2019'
|
if: matrix.info.os == 'windows-2022'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cp target/${{ matrix.info.target }}/release/btm.exe btm.exe
|
cp target/${{ matrix.info.target }}/release/btm.exe btm.exe
|
||||||
@ -174,7 +174,7 @@ jobs:
|
|||||||
echo "ASSET=bottom_${{ matrix.info.target }}.zip" >> $GITHUB_ENV
|
echo "ASSET=bottom_${{ matrix.info.target }}.zip" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Bundle release and completion (Linux and macOS)
|
- name: Bundle release and completion (Linux and macOS)
|
||||||
if: matrix.info.os != 'windows-2019'
|
if: matrix.info.os != 'windows-2022'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cp target/${{ matrix.info.target }}/release/btm ./btm
|
cp target/${{ matrix.info.target }}/release/btm ./btm
|
||||||
@ -302,7 +302,7 @@ jobs:
|
|||||||
|
|
||||||
build-msi:
|
build-msi:
|
||||||
name: "Build MSI (WiX) installer"
|
name: "Build MSI (WiX) installer"
|
||||||
runs-on: "windows-2019"
|
runs-on: "windows-2022"
|
||||||
timeout-minutes: 12
|
timeout-minutes: 12
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -76,7 +76,7 @@ jobs:
|
|||||||
- { os: "macos-13", target: "x86_64-apple-darwin", cross: false }
|
- { os: "macos-13", target: "x86_64-apple-darwin", cross: false }
|
||||||
- { os: "macos-14", target: "aarch64-apple-darwin", cross: false }
|
- { os: "macos-14", target: "aarch64-apple-darwin", cross: false }
|
||||||
- {
|
- {
|
||||||
os: "windows-2019",
|
os: "windows-2022",
|
||||||
target: "x86_64-pc-windows-msvc",
|
target: "x86_64-pc-windows-msvc",
|
||||||
cross: false,
|
cross: false,
|
||||||
}
|
}
|
||||||
@ -163,9 +163,9 @@ jobs:
|
|||||||
cross: true,
|
cross: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
- { os: "windows-2019", target: "i686-pc-windows-msvc", cross: false }
|
- { os: "windows-2022", target: "i686-pc-windows-msvc", cross: false }
|
||||||
- {
|
- {
|
||||||
os: "windows-2019",
|
os: "windows-2022",
|
||||||
target: "x86_64-pc-windows-gnu",
|
target: "x86_64-pc-windows-gnu",
|
||||||
cross: false,
|
cross: false,
|
||||||
}
|
}
|
||||||
@ -184,7 +184,7 @@ jobs:
|
|||||||
rust: "beta",
|
rust: "beta",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
os: "windows-2019",
|
os: "windows-2022",
|
||||||
target: "x86_64-pc-windows-msvc",
|
target: "x86_64-pc-windows-msvc",
|
||||||
cross: false,
|
cross: false,
|
||||||
rust: "beta",
|
rust: "beta",
|
||||||
|
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
|||||||
info:
|
info:
|
||||||
- { os: "ubuntu-latest", target: "x86_64-unknown-linux-gnu" }
|
- { os: "ubuntu-latest", target: "x86_64-unknown-linux-gnu" }
|
||||||
- { os: "macos-14", target: "aarch64-apple-darwin", cross: false }
|
- { os: "macos-14", target: "aarch64-apple-darwin", cross: false }
|
||||||
- { os: "windows-2019", target: "x86_64-pc-windows-msvc" }
|
- { os: "windows-2022", target: "x86_64-pc-windows-msvc" }
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user