Skip to content

Commit 13a2bba

Browse files
authored
Merge pull request #250 from stepchowfun/aarch64-unknown-linux-musl
Add support for AArch64 musl Linux
2 parents cb66594 + f20d7f0 commit 13a2bba

File tree

5 files changed

+29
-2
lines changed

5 files changed

+29
-2
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,25 @@ jobs:
4444
- run: |
4545
# Make Bash not silently ignore errors.
4646
set -euo pipefail
47+
4748
# The artifact name will contain the target triple, so the file name doesn't need to.
4849
mv artifacts/docuum-aarch64-unknown-linux-gnu artifacts/docuum
4950
- uses: actions/upload-artifact@v2
5051
with:
5152
name: aarch64-unknown-linux-gnu
5253
path: artifacts/docuum
5354
if-no-files-found: error
55+
- run: |
56+
# Make Bash not silently ignore errors.
57+
set -euo pipefail
58+
59+
# The artifact name will contain the target triple, so the file name doesn't need to.
60+
mv artifacts/docuum-aarch64-unknown-linux-musl artifacts/docuum
61+
- uses: actions/upload-artifact@v2
62+
with:
63+
name: aarch64-unknown-linux-musl
64+
path: artifacts/docuum
65+
if-no-files-found: error
5466
ci-windows:
5567
name: Build for Windows
5668
runs-on: windows-latest
@@ -179,6 +191,9 @@ jobs:
179191
mv \
180192
artifacts/aarch64-unknown-linux-gnu/docuum \
181193
artifacts/docuum-aarch64-unknown-linux-gnu
194+
mv \
195+
artifacts/aarch64-unknown-linux-musl/docuum \
196+
artifacts/docuum-aarch64-unknown-linux-musl
182197
mv \
183198
artifacts/x86_64-apple-darwin/docuum \
184199
artifacts/docuum-x86_64-apple-darwin
@@ -217,6 +232,7 @@ jobs:
217232
--attach 'artifacts/docuum-x86_64-unknown-linux-gnu' \
218233
--attach 'artifacts/docuum-x86_64-unknown-linux-musl' \
219234
--attach 'artifacts/docuum-aarch64-unknown-linux-gnu' \
235+
--attach 'artifacts/docuum-aarch64-unknown-linux-musl' \
220236
--attach 'artifacts/docuum-x86_64-apple-darwin' \
221237
--attach 'artifacts/docuum-aarch64-apple-darwin' \
222238
--attach 'artifacts/docuum-x86_64-pc-windows-msvc.exe' \

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.22.3] - 2023-06-02
9+
10+
### Added
11+
- Docuum supports a new platform: AArch64 musl Linux.
12+
813
## [0.22.2] - 2023-05-23
914

1015
### Added

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "docuum"
3-
version = "0.22.2"
3+
version = "0.22.3"
44
authors = ["Stephan Boyer <stephan@stephanboyer.com>"]
55
edition = "2021"
66
description = "LRU eviction of Docker images."

toast.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,16 +226,19 @@ tasks:
226226
rustup target add x86_64-unknown-linux-gnu
227227
rustup target add x86_64-unknown-linux-musl
228228
rustup target add aarch64-unknown-linux-gnu
229+
rustup target add aarch64-unknown-linux-musl
229230
230231
# Set the linkers.
231232
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=x86_64-linux-gnu-gcc
232233
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_LINKER=x86_64-linux-gnu-gcc
233234
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
235+
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-gnu-gcc
234236
235237
# Build the project with Cargo for each Linux target.
236238
cargo-online build --release --target x86_64-unknown-linux-gnu
237239
cargo-online build --release --target x86_64-unknown-linux-musl
238240
cargo-online build --release --target aarch64-unknown-linux-gnu
241+
cargo-online build --release --target aarch64-unknown-linux-musl
239242
240243
# Move the binaries to a more conveniennt location for exporting.
241244
mkdir artifacts
@@ -248,6 +251,9 @@ tasks:
248251
cp \
249252
target/aarch64-unknown-linux-gnu/release/docuum \
250253
artifacts/docuum-aarch64-unknown-linux-gnu
254+
cp \
255+
target/aarch64-unknown-linux-musl/release/docuum \
256+
artifacts/docuum-aarch64-unknown-linux-musl
251257
252258
validate_release:
253259
description: Validate the release.

0 commit comments

Comments
 (0)