Skip to content

Commit

Permalink
Distribute prebuilt binaries for aarch64 Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 21, 2022
1 parent b8f8aa9 commit dddfa4d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,18 @@ jobs:
if: startsWith(matrix.rust, 'nightly')
- run: echo "RUSTFLAGS=${RUSTFLAGS} -C target-feature=+crt-static" >> "${GITHUB_ENV}"
if: startsWith(matrix.os, 'windows')
- run: cargo test --workspace
- run: cargo test --workspace --all-features
- run: cargo minimal-versions build --workspace --all-features --ignore-private
if: startsWith(matrix.rust, 'nightly')

cross:
name: build (${{ matrix.target }})
strategy:
fail-fast: false
matrix:
include:
- target: aarch64-unknown-linux-gnu
- target: aarch64-unknown-linux-musl
- target: x86_64-unknown-linux-musl
runs-on: ${{ matrix.os || 'ubuntu-18.04' }}
steps:
Expand All @@ -69,7 +72,7 @@ jobs:
persist-credentials: false
- uses: taiki-e/github-actions/install-rust@main
- uses: taiki-e/install-action@cross
- run: cross test --target ${{ matrix.target }}
- run: cross build --target ${{ matrix.target }}

build:
runs-on: ubuntu-18.04
Expand All @@ -90,7 +93,7 @@ jobs:
with:
component: clippy,rustfmt
- uses: taiki-e/install-action@shellcheck
- run: cargo fmt --all -- --check
- run: cargo fmt --all --check
if: always()
- run: cargo clippy --workspace --all-features --all-targets
if: always()
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ jobs:
strategy:
matrix:
include:
- target: aarch64-unknown-linux-gnu
- target: aarch64-unknown-linux-musl
- target: x86_64-unknown-linux-gnu
os: ubuntu-18.04
- target: x86_64-unknown-linux-musl
os: ubuntu-18.04
- target: x86_64-apple-darwin
os: macos-10.15
- target: x86_64-pc-windows-msvc
os: windows-2019
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.os || 'ubuntu-18.04' }}
steps:
- uses: actions/checkout@v2
with:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com

## [Unreleased]

- Distribute prebuilt binaries for aarch64 Linux (gnu and musl).

## [0.1.15] - 2022-01-06

- Fix bug in `show-env` subcommand. ([#121](https://github.com/taiki-e/cargo-llvm-cov/pull/121))
Expand Down
2 changes: 0 additions & 2 deletions tests/test.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// TODO: It seems rustup is not installed in the docker image provided by cross.
#![cfg(not(target_env = "musl"))]
#![warn(rust_2018_idioms)]

mod auxiliary;
Expand Down

0 comments on commit dddfa4d

Please sign in to comment.