Skip to content

Commit

Permalink
--wip-- [with ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Sep 6, 2024
1 parent 304b206 commit 8d1e7fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ jobs:
include:
- target: x86_64-unknown-linux-gnu
- target: aarch64-unknown-linux-gnu
setup: |
sudo apt-get install -y gcc-aarch64-linux-gnu
cross: true

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

- 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 }}
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ jobs:
include:
- target: x86_64-unknown-linux-gnu
- target: aarch64-unknown-linux-gnu
setup: |
sudo apt-get install -y gcc-aarch64-linux-gnu
cross: true

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

- 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
2 changes: 0 additions & 2 deletions crates/cargo-codspeed/.cargo/config

This file was deleted.

0 comments on commit 8d1e7fc

Please sign in to comment.