Skip to content

Commit

Permalink
feat(cargo-codspeed): add prebuilt aarch64 binary to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Sep 6, 2024
1 parent 8a9f8e1 commit d6f4f92
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ on:
push:
tags:
- "v*"
workflow_dispatch:

permissions:
contents: write

jobs:
publish:
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -44,6 +46,9 @@ jobs:
matrix:
include:
- target: x86_64-unknown-linux-gnu
- target: aarch64-unknown-linux-gnu
setup: |
sudo apt-get install -y gcc-aarch64-linux-gnu
runs-on: ubuntu-latest
steps:
Expand All @@ -53,10 +58,9 @@ jobs:
targets: ${{ matrix.target }}
cache-target: ${{ matrix.target }}/release

# TODO: Reenable when we have a way to build for other targets
# - name: Setup environment for target
# if: ${{ matrix.setup }}
# run: ${{ matrix.setup }}
- name: Setup environment for target
if: ${{ matrix.setup }}
run: ${{ matrix.setup }}

- run: cargo build --release --features vendored-openssl --bin cargo-codspeed --target ${{ matrix.target }}

Expand Down

0 comments on commit d6f4f92

Please sign in to comment.