Skip to content

Commit

Permalink
Distribute prebuilt binaries for aarch64 macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jun 2, 2022
1 parent 3f8d2d6 commit ccbc5b7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,31 @@ jobs:
if: startsWith(matrix.rust, 'nightly')

cross:
name: test (${{ matrix.target }})
name: ${{ matrix.cmd || 'test' }} (${{ matrix.target }})
strategy:
fail-fast: false
matrix:
include:
- target: aarch64-unknown-linux-gnu
- target: aarch64-unknown-linux-musl
- target: aarch64-apple-darwin
os: macos-11
cmd: build
- target: x86_64-unknown-linux-musl
runs-on: ${{ matrix.os || 'ubuntu-18.04' }}
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: taiki-e/github-actions/install-rust@main
with:
target: ${{ matrix.target }}
- uses: taiki-e/install-action@cross
- run: cross test --target ${{ matrix.target }}
if: matrix.os == '' || startsWith(matrix.os, 'ubuntu')
- run: cross ${{ matrix.cmd || 'test' }} --target ${{ matrix.target }}
if: matrix.os == '' || startsWith(matrix.os, 'ubuntu')
- run: cargo ${{ matrix.cmd || 'test' }} --target ${{ matrix.target }}
if: startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'windows')

msrv:
runs-on: ubuntu-18.04
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
include:
- target: aarch64-unknown-linux-gnu
- target: aarch64-unknown-linux-musl
- target: aarch64-apple-darwin
os: macos-11
- target: x86_64-unknown-linux-gnu
- target: x86_64-unknown-linux-musl
- target: x86_64-apple-darwin
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 macOS. ([#21](https://github.com/taiki-e/parse-changelog/pull/21))

## [0.4.7] - 2022-01-21

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

0 comments on commit ccbc5b7

Please sign in to comment.