From 79177d1723f4df0cd9b7b9c70ce581661c776236 Mon Sep 17 00:00:00 2001 From: Lachlan Deakin Date: Sun, 12 Jan 2025 21:16:52 +1100 Subject: [PATCH 1/4] chore(CI): reenable `aarch64-unknown-linux-gnu` Fixed with cc 1.2.9? --- Cargo.lock | 8 ++++---- dist-workspace.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ee5991f..374d6a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -222,9 +222,9 @@ checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" [[package]] name = "cc" -version = "1.2.8" +version = "1.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0cf6e91fde44c773c6ee7ec6bba798504641a8bc2eb7e37a04ffbf4dfaa55a" +checksum = "c8293772165d9345bdaaa39b45b2109591e63fe5e6fbc23c6ff930a048aa310b" dependencies = [ "jobserver", "libc", @@ -1784,9 +1784,9 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "snappy_src" -version = "0.2.3+snappy.1.2.1" +version = "0.2.4+snappy.1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc78d0b5fea71fda96c2e67f99ff3cfb34757307dd088a9abed3a4ba0a7f7465" +checksum = "73cacdec271c70981dbb6df068f9836c9737b643f62980115bc8d622353247b6" dependencies = [ "cc", "link-cplusplus", diff --git a/dist-workspace.toml b/dist-workspace.toml index 20ef7df..9bdbd19 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -10,7 +10,7 @@ ci = "github" # The installers to generate for each app installers = ["shell", "powershell"] # Target platforms to build apps for (Rust target-triple syntax) -targets = ["aarch64-apple-darwin", "aarch64-pc-windows-msvc", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"] +targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-pc-windows-msvc", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"] # Whether to pass --all-features to cargo build all-features = true # Path that installers should place binaries in From 188090974be9ed11ad69cc3720fee7dbcd26d722 Mon Sep 17 00:00:00 2001 From: Lachlan Deakin Date: Sun, 12 Jan 2025 21:17:11 +1100 Subject: [PATCH 2/4] cargo dist pr-run-mode = "upload" --- .github/workflows/release.yml | 4 ++++ dist-workspace.toml | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc9d1e7..d17ef80 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -125,6 +125,10 @@ jobs: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y echo "$HOME/.cargo/bin" >> $GITHUB_PATH fi + - uses: swatinem/rust-cache@v2 + with: + key: ${{ join(matrix.targets, '-') }} + cache-provider: ${{ matrix.cache_provider }} - name: Install dist run: ${{ matrix.install_dist.run }} # Get the dist-manifest diff --git a/dist-workspace.toml b/dist-workspace.toml index 9bdbd19..66ab82c 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -17,6 +17,7 @@ all-features = true install-path = "CARGO_HOME" # Whether to install an updater program install-updater = false +pr-run-mode = "upload" [dist.github-custom-runners.x86_64-unknown-linux-gnu] container = { image = "quay.io/pypa/manylinux_2_28_x86_64", host = "x86_64-unknown-linux-musl" } From a4049649065913908a6e276dff6206663715da0d Mon Sep 17 00:00:00 2001 From: Lachlan Deakin Date: Sun, 12 Jan 2025 21:27:40 +1100 Subject: [PATCH 3/4] Revert "cargo dist pr-run-mode = "upload"" This reverts commit 188090974be9ed11ad69cc3720fee7dbcd26d722. --- .github/workflows/release.yml | 4 ---- dist-workspace.toml | 1 - 2 files changed, 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d17ef80..dc9d1e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -125,10 +125,6 @@ jobs: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y echo "$HOME/.cargo/bin" >> $GITHUB_PATH fi - - uses: swatinem/rust-cache@v2 - with: - key: ${{ join(matrix.targets, '-') }} - cache-provider: ${{ matrix.cache_provider }} - name: Install dist run: ${{ matrix.install_dist.run }} # Get the dist-manifest diff --git a/dist-workspace.toml b/dist-workspace.toml index 66ab82c..9bdbd19 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -17,7 +17,6 @@ all-features = true install-path = "CARGO_HOME" # Whether to install an updater program install-updater = false -pr-run-mode = "upload" [dist.github-custom-runners.x86_64-unknown-linux-gnu] container = { image = "quay.io/pypa/manylinux_2_28_x86_64", host = "x86_64-unknown-linux-musl" } From 88a2f5ea4c68f346de70f550c5a5c120f0834b4e Mon Sep 17 00:00:00 2001 From: Lachlan Deakin Date: Sun, 12 Jan 2025 21:28:15 +1100 Subject: [PATCH 4/4] changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5ab6ea..3370e7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added +- Add additional platforms to release artifacts + - `aarch64-unknown-linux-gnu` + ## [0.7.0] - 2025-01-12 ### Added