-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish an ARMv7 binary for the releases
- Loading branch information
1 parent
ba8a410
commit 88c063e
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,27 @@ jobs: | |
file: target/release/${{ matrix.artifact_name }} | ||
asset_name: ${{ matrix.asset_name }} | ||
tag: ${{ github.ref }} | ||
|
||
publish-armv7: | ||
name: Publish for ARMv7 | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: uraimo/[email protected] | ||
id: runcmd | ||
with: | ||
architecture: armv7 | ||
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-armv7 | ||
tag: ${{ github.ref }} |