T25: release builds: scripts/windows-zip.ps1 zips elyterminal.exe, the icon inside as resource 1 (build.rs, embed-resource), a GUI program carrying its C runtime, git started without a console; scripts/linux-tar.sh builds on Debian 12, glibc 2.35 for this build, with a desktop entry and the icon; every window names itself com.zacharyzhang.elyterminal; rust-toolchain.toml pins 1.95.0, and CI installs it without rustup default
This commit is contained in:
21 files changed
+211
-39
No files matched your search
@@ -10,10 +10,9 @@ jobs:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: "1.95"
|
||||
components: clippy, rustfmt
|
||||
# The runner's PATH lacks the host's rustup.
|
||||
- run: echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- run: rustup toolchain install --no-self-update
|
||||
- run: scripts/check.sh
|
||||
- run: cargo build --locked
|
||||
|
||||
@@ -28,9 +27,12 @@ jobs:
|
||||
CARGO_PROFILE_DEV_DEBUG: 0
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: "1.95"
|
||||
# The job container comes without rustup.
|
||||
- if: runner.os == 'Linux'
|
||||
run: |
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain none
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- run: rustup toolchain install --no-self-update
|
||||
# On a host runner its post step deletes the host's rustup.
|
||||
- if: runner.os == 'Linux'
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
Reference in new issue
Block a user