Skip to content

Commit

Permalink
CI: Create release builds for Apple silicon (ARM)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrgn committed Jun 16, 2024
1 parent 3a14232 commit e0dfb3f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,23 @@ jobs:

build-macos:
runs-on: macos-latest
strategy:
matrix:
include:
- arch: "x86_64"
- arch: "aarch64"
steps:
- uses: actions/checkout@v4
- name: Setup toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Build
run: cargo build --release --target x86_64-apple-darwin --no-default-features --features webpki-roots
run: cargo build --release --target ${{ matrix.arch }}-apple-darwin --no-default-features --features webpki-roots
- uses: actions/upload-artifact@v4
with:
name: "tealdeer-macos-x86_64"
path: "target/x86_64-apple-darwin/release/tldr"
name: "tealdeer-macos-${{ matrix.arch }}"
path: "target/${{ matrix.arch }}-apple-darwin/release/tldr"

build-windows:
runs-on: windows-latest
Expand Down

0 comments on commit e0dfb3f

Please sign in to comment.