Compare commits

...

11 Commits

Author SHA1 Message Date
Taiki Endo
47e2e5cbd7 Release 2.44.12 2024-09-28 16:25:13 +09:00
Taiki Endo
05718eba42 Update changelog 2024-09-28 16:22:12 +09:00
Taiki Endo
942f3ad679 Fix compatibility issue with Cygwin sh
```
D:\a\_temp\00683b68-582f-4719-bd7a-9e98dd7975b7.sh: line 1: set: -
: invalid option
set: usage: set [-abefhkmnptuvxBCEHPT] [-o option-name] [--] [-] [arg ...]
```
2024-09-28 16:20:03 +09:00
Taiki Endo
4a3cc43080 Release 2.44.11 2024-09-28 12:30:37 +09:00
Taiki Endo
c8b5e0ff44 ci: Add macos-15 2024-09-28 11:54:02 +09:00
Taiki Endo
596eade599 ci: Use taiki-e/github-actions/install-rust action
3d23ff7968
2024-09-28 11:53:39 +09:00
Taiki Endo
05260f07f3 Update git-cliff@latest to 2.6.1 2024-09-28 03:13:08 +09:00
Taiki Endo
cbe8580ec9 Release 2.44.10 2024-09-26 21:39:09 +09:00
Taiki Endo
fff8de5df4 Update cargo-machete@latest to 0.7.0 2024-09-26 21:16:32 +09:00
Taiki Endo
58a3efb22c Release 2.44.9 2024-09-26 01:21:46 +09:00
Taiki Endo
458a731083 Update wasmtime@latest to 25.0.1 2024-09-25 11:02:42 +09:00
7 changed files with 149 additions and 25 deletions

View File

@@ -52,6 +52,7 @@ jobs:
tool: major
- os: macos-13
- os: macos-14
- os: macos-15
- os: windows-2019
- os: windows-2019
bash: msys64
@@ -62,24 +63,30 @@ jobs:
bash: msys64
- os: windows-2022
bash: cygwin
- os: windows-2022
tool: major.minor.patch
- os: windows-2022
tool: major.minor
- os: windows-2022
tool: major
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- run: |
printf 'C:\msys64\mingw32\bin\n' >>"${GITHUB_PATH}"
printf 'C:\msys64\usr\bin\n' >>"${GITHUB_PATH}"
printf '%s\n' 'C:\msys64\mingw32\bin' >>"${GITHUB_PATH}"
printf '%s\n' 'C:\msys64\usr\bin' >>"${GITHUB_PATH}"
if: matrix.bash == 'msys64'
- run: |
choco install --no-progress --requirechecksums cygwin
printf 'C:\tools\cygwin\bin\n' >>"${GITHUB_PATH}"
printf 'C:\tools\cygwin\usr\bin\n' >>"${GITHUB_PATH}"
printf '%s\n' 'C:\tools\cygwin\bin' >>"${GITHUB_PATH}"
printf '%s\n' 'C:\tools\cygwin\usr\bin' >>"${GITHUB_PATH}"
if: matrix.bash == 'cygwin'
- uses: taiki-e/checkout-action@v1
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
- run: rm Cargo.toml
- name: Generate tool list
id: tool-list
run: tools/ci/tool-list.sh "${{ matrix.tool }}" >>"${GITHUB_OUTPUT}"
run: tools/ci/tool-list.sh "${{ matrix.tool }}" "${{ matrix.os }}" "${{ matrix.bash }}" >>"${GITHUB_OUTPUT}"
- run: env
- uses: ./
with:
@@ -201,8 +208,7 @@ jobs:
pull-requests: write # for gh pr review --approve
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
run: rustup update stable --no-self-update
- uses: taiki-e/github-actions/install-rust@stable
- name: Generate Cargo.lock
run: cargo update
- uses: Swatinem/rust-cache@v2

View File

@@ -10,6 +10,22 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.44.12] - 2024-09-28
- Fix compatibility issue with Cygwin `sh`. This fixes a regression introduced in 2.42.0.
## [2.44.11] - 2024-09-28
- Update `git-cliff@latest` to 2.6.1.
## [2.44.10] - 2024-09-26
- Update `cargo-machete@latest` to 0.7.0.
## [2.44.9] - 2024-09-25
- Update `wasmtime@latest` to 25.0.1.
## [2.44.8] - 2024-09-24
- Update `rclone@latest` to 1.68.1.
@@ -2776,7 +2792,11 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.44.8...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.44.12...HEAD
[2.44.12]: https://github.com/taiki-e/install-action/compare/v2.44.11...v2.44.12
[2.44.11]: https://github.com/taiki-e/install-action/compare/v2.44.10...v2.44.11
[2.44.10]: https://github.com/taiki-e/install-action/compare/v2.44.9...v2.44.10
[2.44.9]: https://github.com/taiki-e/install-action/compare/v2.44.8...v2.44.9
[2.44.8]: https://github.com/taiki-e/install-action/compare/v2.44.7...v2.44.8
[2.44.7]: https://github.com/taiki-e/install-action/compare/v2.44.6...v2.44.7
[2.44.6]: https://github.com/taiki-e/install-action/compare/v2.44.5...v2.44.6

View File

@@ -46,3 +46,11 @@ runs:
INPUT_TOOL: ${{ inputs.tool }}
INPUT_CHECKSUM: ${{ inputs.checksum }}
INPUT_FALLBACK: ${{ inputs.fallback }}
if: runner.os != 'Windows'
- run: bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
shell: bash
env:
INPUT_TOOL: ${{ inputs.tool }}
INPUT_CHECKSUM: ${{ inputs.checksum }}
INPUT_FALLBACK: ${{ inputs.fallback }}
if: runner.os == 'Windows'

View File

@@ -3,7 +3,36 @@
"template": null,
"license_markdown": "[MIT](https://github.com/bnjbvr/cargo-machete/blob/main/LICENSE.md)",
"latest": {
"version": "0.6.2"
"version": "0.7.0"
},
"0.7": {
"version": "0.7.0"
},
"0.7.0": {
"x86_64_linux_musl": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.7.0/cargo-machete-v0.7.0-x86_64-unknown-linux-musl.tar.gz",
"etag": "0x8DCDE14D890E1AF",
"checksum": "473f663c7b47166fc4eb87f82716ba709b22cc62a52763585c529974b5aeb6e5",
"bin": "cargo-machete-v0.7.0-x86_64-unknown-linux-musl/cargo-machete"
},
"x86_64_macos": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.7.0/cargo-machete-v0.7.0-x86_64-apple-darwin.tar.gz",
"etag": "0x8DCDE14CF16B32E",
"checksum": "aa95f97a0bd2b36928b2b4495e7b9ddd197bab4d6510903e926c6ad7288272fd",
"bin": "cargo-machete-v0.7.0-x86_64-apple-darwin/cargo-machete"
},
"x86_64_windows": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.7.0/cargo-machete-v0.7.0-x86_64-pc-windows-msvc.tar.gz",
"etag": "0x8DCDE152AA824B0",
"checksum": "c50e388fbbaf484c140f3644fbc4c6f026dceebe49ffe8929477dd4ac149818c",
"bin": "cargo-machete-v0.7.0-x86_64-pc-windows-msvc/cargo-machete.exe"
},
"aarch64_macos": {
"url": "https://github.com/bnjbvr/cargo-machete/releases/download/v0.7.0/cargo-machete-v0.7.0-aarch64-apple-darwin.tar.gz",
"etag": "0x8DCDE14D5BC10C6",
"checksum": "1510e68aae1be38f995c80a8cc16eeadeb4ab304991c0cf0f96773b7b1d41ba7",
"bin": "cargo-machete-v0.7.0-aarch64-apple-darwin/cargo-machete"
}
},
"0.6": {
"version": "0.6.2"

View File

@@ -28,13 +28,39 @@
},
"license_markdown": "[MIT](https://github.com/orhun/git-cliff/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/orhun/git-cliff/blob/main/LICENSE-APACHE)",
"latest": {
"version": "2.6.0"
"version": "2.6.1"
},
"2": {
"version": "2.6.0"
"version": "2.6.1"
},
"2.6": {
"version": "2.6.0"
"version": "2.6.1"
},
"2.6.1": {
"x86_64_linux_musl": {
"etag": "0x8DCDF0C286D5E7C",
"checksum": "aa79de881c46ad783de43e20e6a5711cd6f7ef7e9b9d01648845d8c577817d78"
},
"x86_64_macos": {
"etag": "0x8DCDF0BF132B0C7",
"checksum": "1c819d6beaafe596b1b825519488362c56d7cd330a61d27b68dcf48b2cd13a08"
},
"x86_64_windows": {
"etag": "0x8DCDF0D0C6CFB82",
"checksum": "519f7cd9e5f43f1c11f323cddcb1e77b5ca7317a6ff72297be2f41975d45febe"
},
"aarch64_linux_musl": {
"etag": "0x8DCDF0C37EC48D9",
"checksum": "2e350b6fc7d8e46db466efa1fd35a41103041f9ea45eee9dd7ca8d419aac2155"
},
"aarch64_macos": {
"etag": "0x8DCDF0C177CD533",
"checksum": "d1501f61d7037cb7beaa315e6c413c3b92c19d835f59e706a070c344476a3d72"
},
"aarch64_windows": {
"etag": "0x8DCDF0CF49F0785",
"checksum": "ad2b600909927b0b5e6e0b593f54e69c5370b3fa969f7fda761638ff6f0d49f5"
}
},
"2.6.0": {
"x86_64_linux_musl": {

View File

@@ -24,13 +24,35 @@
},
"license_markdown": "[Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/main/LICENSE)",
"latest": {
"version": "25.0.0"
"version": "25.0.1"
},
"25": {
"version": "25.0.0"
"version": "25.0.1"
},
"25.0": {
"version": "25.0.0"
"version": "25.0.1"
},
"25.0.1": {
"x86_64_linux_gnu": {
"etag": "0x8DCDCE18BBDE564",
"checksum": "3785b32b79fd7af4f12bf42c4e46debf48ec853fbcc4a097a3bd9728237fb3ef"
},
"x86_64_macos": {
"etag": "0x8DCDCE18C974B30",
"checksum": "1e06ab357904272ecfbedc8f2b007ba45121ee66c8fe6958814ae31e918cbfe4"
},
"x86_64_windows": {
"etag": "0x8DCDCE1900D718C",
"checksum": "2849c8d487d2c9ab83fb993f896f2b4fac7a7b8e8f3a6f3417b7b182c728e26c"
},
"aarch64_linux_gnu": {
"etag": "0x8DCDCE185DCD2E8",
"checksum": "35850d5ae8c9b882826f01cb7400995df6024821c0de7f61bd1a630453adc060"
},
"aarch64_macos": {
"etag": "0x8DCDCE186BB3C20",
"checksum": "d5091035f7bc6499365331ba3d6c9a1c572f2d881fbf29eebbdf83993a20dd55"
}
},
"25.0.0": {
"x86_64_linux_gnu": {

View File

@@ -40,6 +40,9 @@ glibc_pre_2_17_incompat=(
musl_incompat=(
"${glibc_pre_2_17_incompat[@]}"
)
win2019_gnu_incompat=(
cargo-spellcheck
)
incompat_tools=()
case "${1:-}" in
@@ -51,9 +54,11 @@ case "${1:-}" in
;;
*)
echo "tool=$1"
exit 0
exit 1
;;
esac
runner="${2:-}"
bash="${3:-}"
case "$(uname -s)" in
Linux)
host_os=linux
@@ -92,7 +97,16 @@ case "$(uname -s)" in
fi
;;
Darwin) host_os=macos ;;
MINGW* | MSYS* | CYGWIN* | Windows_NT) host_os=windows ;;
MINGW* | MSYS* | CYGWIN* | Windows_NT)
host_os=windows
case "${bash}" in
msys64 | cygwin)
if [[ "${runner}" == "windows-2019" ]]; then
incompat_tools+=("${win2019_gnu_incompat[@]}")
fi
;;
esac
;;
*) bail "unrecognized OS type '$(uname -s)'" ;;
esac
@@ -104,20 +118,19 @@ for manifest in tools/codegen/base/*.json; do
continue
fi
case "${host_os}" in
linux*)
for incompat in ${incompat_tools[@]+"${incompat_tools[@]}"}; do
if [[ "${incompat}" == "${tool_name}" ]]; then
tool_name=''
break
fi
done
;;
linux*) ;;
*)
if [[ "$(jq -r ".platform.x86_64_${host_os}" "${manifest}")" == "null" ]]; then
continue
fi
;;
esac
for incompat in ${incompat_tools[@]+"${incompat_tools[@]}"}; do
if [[ "${incompat}" == "${tool_name}" ]]; then
tool_name=''
break
fi
done
if [[ -n "${tool_name}" ]]; then
if [[ "${version}" != "latest" ]]; then
latest_version=$(jq -r ".latest.version" "manifests/${tool_name}.json")