Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
matrix:
include:
- target: x86_64-unknown-linux-gnu
- target: aarch64-unknown-linux-gnu
cross: true

runs-on: ubuntu-latest
steps:
Expand All @@ -52,13 +54,9 @@ jobs:
with:
targets: ${{ matrix.target }}
cache-target: ${{ matrix.target }}/release
bins: cross

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

- run: cargo build --release --features vendored-openssl --bin cargo-codspeed --target ${{ matrix.target }}
- run: ${{ matrix.cross && 'cross' || 'cargo' }} build --locked --release --features vendored-openssl --bin cargo-codspeed --target ${{ matrix.target }}

- name: Upload Release Asset
id: upload-release-asset
Expand Down