diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89c23bf..7200eb9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,7 @@ jobs: - run: | # Make Bash not silently ignore errors. set -euo pipefail + # The artifact name will contain the target triple, so the file name doesn't need to. mv artifacts/docuum-aarch64-unknown-linux-gnu artifacts/docuum - uses: actions/upload-artifact@v2 @@ -51,6 +52,17 @@ jobs: name: aarch64-unknown-linux-gnu path: artifacts/docuum if-no-files-found: error + - run: | + # Make Bash not silently ignore errors. + set -euo pipefail + + # The artifact name will contain the target triple, so the file name doesn't need to. + mv artifacts/docuum-aarch64-unknown-linux-musl artifacts/docuum + - uses: actions/upload-artifact@v2 + with: + name: aarch64-unknown-linux-musl + path: artifacts/docuum + if-no-files-found: error ci-windows: name: Build for Windows runs-on: windows-latest @@ -179,6 +191,9 @@ jobs: mv \ artifacts/aarch64-unknown-linux-gnu/docuum \ artifacts/docuum-aarch64-unknown-linux-gnu + mv \ + artifacts/aarch64-unknown-linux-musl/docuum \ + artifacts/docuum-aarch64-unknown-linux-musl mv \ artifacts/x86_64-apple-darwin/docuum \ artifacts/docuum-x86_64-apple-darwin @@ -217,6 +232,7 @@ jobs: --attach 'artifacts/docuum-x86_64-unknown-linux-gnu' \ --attach 'artifacts/docuum-x86_64-unknown-linux-musl' \ --attach 'artifacts/docuum-aarch64-unknown-linux-gnu' \ + --attach 'artifacts/docuum-aarch64-unknown-linux-musl' \ --attach 'artifacts/docuum-x86_64-apple-darwin' \ --attach 'artifacts/docuum-aarch64-apple-darwin' \ --attach 'artifacts/docuum-x86_64-pc-windows-msvc.exe' \ diff --git a/CHANGELOG.md b/CHANGELOG.md index 84ca117..41341fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.22.3] - 2023-06-02 + +### Added +- Docuum supports a new platform: AArch64 musl Linux. + ## [0.22.2] - 2023-05-23 ### Added diff --git a/Cargo.lock b/Cargo.lock index b98eff4..05d6b41 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -162,7 +162,7 @@ dependencies = [ [[package]] name = "docuum" -version = "0.22.2" +version = "0.22.3" dependencies = [ "atty", "byte-unit", diff --git a/Cargo.toml b/Cargo.toml index 740d697..45b8903 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "docuum" -version = "0.22.2" +version = "0.22.3" authors = ["Stephan Boyer "] edition = "2021" description = "LRU eviction of Docker images." diff --git a/toast.yml b/toast.yml index c5677fa..860f4fb 100644 --- a/toast.yml +++ b/toast.yml @@ -226,16 +226,19 @@ tasks: rustup target add x86_64-unknown-linux-gnu rustup target add x86_64-unknown-linux-musl rustup target add aarch64-unknown-linux-gnu + rustup target add aarch64-unknown-linux-musl # Set the linkers. export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=x86_64-linux-gnu-gcc export CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_LINKER=x86_64-linux-gnu-gcc export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc + export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-gnu-gcc # Build the project with Cargo for each Linux target. cargo-online build --release --target x86_64-unknown-linux-gnu cargo-online build --release --target x86_64-unknown-linux-musl cargo-online build --release --target aarch64-unknown-linux-gnu + cargo-online build --release --target aarch64-unknown-linux-musl # Move the binaries to a more conveniennt location for exporting. mkdir artifacts @@ -248,6 +251,9 @@ tasks: cp \ target/aarch64-unknown-linux-gnu/release/docuum \ artifacts/docuum-aarch64-unknown-linux-gnu + cp \ + target/aarch64-unknown-linux-musl/release/docuum \ + artifacts/docuum-aarch64-unknown-linux-musl validate_release: description: Validate the release.