mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-07 13:05:02 +00:00
fix: upgrade builder for windows binaries (#1794)
* fix: change windows builder to windows latest * build: upgrade cargo-dist * chore: update * chore: update * fix: tinymist.3
This commit is contained in:
parent
a0d5d7bee7
commit
c46b6e1166
3 changed files with 18 additions and 18 deletions
2
.github/workflows/announce.yml
vendored
2
.github/workflows/announce.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
# we specify bash to get pipefail; it guards against the `curl` command
|
||||
# failing. otherwise `sh` won't catch that `curl` returned non-0
|
||||
shell: bash
|
||||
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Myriad-Dreamin/cargo-dist/releases/download/v0.28.0-tinymist.8/cargo-dist-installer.sh | sh"
|
||||
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Myriad-Dreamin/cargo-dist/releases/download/v0.28.6-tinymist.3/cargo-dist-installer.sh | sh"
|
||||
- name: Install parse changelog
|
||||
uses: taiki-e/install-action@parse-changelog
|
||||
- name: Install Node.js
|
||||
|
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
@ -1,6 +1,7 @@
|
|||
# This file was autogenerated by dist: https://opensource.axo.dev/cargo-dist/
|
||||
# This file was autogenerated by dist: https://github.com/astral-sh/cargo-dist
|
||||
#
|
||||
# Copyright 2022-2024, axodotdev
|
||||
# Copyright 2025 Astral Software Inc.
|
||||
# SPDX-License-Identifier: MIT or Apache-2.0
|
||||
#
|
||||
# CI that:
|
||||
|
@ -78,12 +79,13 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
submodules: recursive
|
||||
- name: Install dist
|
||||
# we specify bash to get pipefail; it guards against the `curl` command
|
||||
# failing. otherwise `sh` won't catch that `curl` returned non-0
|
||||
shell: bash
|
||||
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Myriad-Dreamin/cargo-dist/releases/download/v0.28.0-tinymist.8/cargo-dist-installer.sh | sh"
|
||||
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Myriad-Dreamin/cargo-dist/releases/download/v0.28.6-tinymist.3/cargo-dist-installer.sh | sh"
|
||||
- name: Cache dist
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -137,6 +139,7 @@ jobs:
|
|||
git config --global core.longpaths true
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
submodules: recursive
|
||||
- name: Install Rust non-interactively if not already installed
|
||||
if: ${{ matrix.container }}
|
||||
|
@ -199,6 +202,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
submodules: recursive
|
||||
- name: Install cached dist
|
||||
uses: actions/download-artifact@v4
|
||||
|
@ -248,6 +252,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
submodules: recursive
|
||||
- name: Install cached dist
|
||||
uses: actions/download-artifact@v4
|
||||
|
@ -310,4 +315,5 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
submodules: recursive
|
||||
|
|
|
@ -4,9 +4,9 @@ members = ["cargo:."]
|
|||
# Config for 'dist'
|
||||
[dist]
|
||||
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
|
||||
cargo-dist-version = "0.28.0-tinymist.8"
|
||||
cargo-dist-version = "0.28.6-tinymist.3"
|
||||
# A URL to use to install `cargo-dist` (with the installer script)
|
||||
cargo-dist-url-override = "https://github.com/Myriad-Dreamin/cargo-dist/releases/download/v0.28.0-tinymist.8"
|
||||
cargo-dist-url-override = "https://github.com/Myriad-Dreamin/cargo-dist/releases/download/v0.28.6-tinymist.3"
|
||||
# CI backends to support
|
||||
ci = "github"
|
||||
# The installers to generate for each app
|
||||
|
@ -62,18 +62,12 @@ install-path = ["$XDG_BIN_HOME/", "$XDG_DATA_HOME/../bin", "~/.local/bin"]
|
|||
# Whether to cache builds
|
||||
cache-builds = true
|
||||
|
||||
[dist.min-glibc-version]
|
||||
# Override glibc version for specific target triplets.
|
||||
aarch64-unknown-linux-gnu = "2.28"
|
||||
riscv64gc-unknown-linux-gnu = "2.31"
|
||||
# Override all remaining glibc versions.
|
||||
"*" = "2.17"
|
||||
|
||||
[dist.github-custom-runners]
|
||||
global = "ubuntu-22.04"
|
||||
aarch64-pc-windows-msvc = "windows-latest"
|
||||
aarch64-unknown-linux-gnu = "ubuntu-22.04"
|
||||
aarch64-unknown-linux-musl = "ubuntu-22.04"
|
||||
arm-unknown-linux-gnueabihf = "ubuntu-22.04"
|
||||
arm-unknown-linux-musleabihf = "ubuntu-22.04"
|
||||
armv7-unknown-linux-gnueabihf = "ubuntu-22.04"
|
||||
armv7-unknown-linux-musleabihf = "ubuntu-22.04"
|
||||
x86_64-unknown-linux-gnu = "ubuntu-22.04"
|
||||
x86_64-unknown-linux-musl = "ubuntu-22.04"
|
||||
# riscv64gc-unknown-linux-gnu = "ubuntu-22.04"
|
||||
riscv64gc-unknown-linux-musl = "ubuntu-22.04"
|
||||
loongarch64-unknown-linux-gnu = "ubuntu-22.04"
|
||||
loongarch64-unknown-linux-musl = "ubuntu-22.04"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue