From 5c638184e9d115dbafe1000c37418306252baf9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Fri, 3 Apr 2020 10:39:28 +0200 Subject: [PATCH 1/2] Publish an aarch64 (aka ARMv8) binary on releases --- .github/workflows/publish-binaries.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/publish-binaries.yml b/.github/workflows/publish-binaries.yml index 9357f29b6..7314e40cd 100644 --- a/.github/workflows/publish-binaries.yml +++ b/.github/workflows/publish-binaries.yml @@ -61,3 +61,27 @@ jobs: file: target/release/meilisearch asset_name: meilisearch-linux-armv7 tag: ${{ github.ref }} + + publish-armv8: + name: Publish for ARMv8 + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v1.0.0 + - uses: uraimo/run-on-arch-action@v1.0.7 + id: runcmd + with: + architecture: aarch64 # aka ARMv8 + distribution: ubuntu18.04 + run: | + apt update + apt install -y curl gcc make + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable + source $HOME/.cargo/env + cargo build --release --locked + - name: Upload the binary to release + uses: svenstaro/upload-release-action@v1-release + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: target/release/meilisearch + asset_name: meilisearch-linux-armv8 + tag: ${{ github.ref }} From 184c2907737e58536e2046788810823adc50e559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Fri, 3 Apr 2020 10:42:19 +0200 Subject: [PATCH 2/2] Update the CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b80e413d..a36808eb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,3 +5,4 @@ - Sanitize the content displayed in the web interface (#539) - Add support of nested null, boolean and seq values (#571 and #568, #574) - Fixed the core benchmark (#576) + - Publish an ARMv7 and ARMv8 binaries on releases (#540 and #581)