From ee6c1e48f218415aceb620e35cb8016c29d5af9e Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 19 Jul 2024 09:00:10 +1000 Subject: [PATCH] Add supported platforms build test matrix --- justfile | 6 ++++++ supported-targets | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 supported-targets diff --git a/justfile b/justfile index 0b9f8a7..7ab53de 100644 --- a/justfile +++ b/justfile @@ -17,3 +17,9 @@ sync-repo dest *args: flamegraph-macos bench_filter: CARGO_PROFILE_RELEASE_DEBUG=true cargo flamegraph --root --bench possum -- --bench '{{ bench_filter }}' + +build-supported-targets: + for a in `cat supported-targets`; do just build-target "$a"; done + +build-target target: + cargo build --release --target {{target}} diff --git a/supported-targets b/supported-targets new file mode 100644 index 0000000..5234b06 --- /dev/null +++ b/supported-targets @@ -0,0 +1,5 @@ +x86_64-pc-windows-gnu +x86_64-unknown-linux-gnu +aarch64-unknown-linux-gnu +arm-unknown-linux-gnueabi +aarch64-apple-darwin