Skip to content

Commit

Permalink
release-workflow: remove Cross platform specification
Browse files Browse the repository at this point in the history
  • Loading branch information
aleasims committed Dec 9, 2024
1 parent 40c1615 commit ef47f04
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,23 +81,19 @@ jobs:
os: ubuntu-latest
rust: stable
target: x86_64-unknown-linux-gnu
cross-platform: x86_64-unknown-linux-musl
- build: ubuntu-aarch64
os: ubuntu-latest
rust: stable
target: aarch64-unknown-linux-gnu
strip: aarch64-linux-gnu-strip
cross-platform: x86_64-unknown-linux-musl
- build: macos-x86
os: macos-latest
rust: stable
target: x86_64-apple-darwin
cross-platform: x86_64-apple-darwin
- build: macos-aarch64
os: macos-latest
rust: stable
target: aarch64-apple-darwin
cross-platform: x86_64-apple-darwin

steps:
- name: Checkout repository
Expand Down Expand Up @@ -141,8 +137,8 @@ jobs:
mkdir "$dir"
echo "$dir" >> $GITHUB_PATH
cd "$dir"
curl -LO "https://github.com/cross-rs/cross/releases/download/$CROSS_VERSION/cross-${{ matrix.cross-platform }}.tar.gz"
tar xf cross-${{ matrix.cross-platform }}.tar.gz
curl -LO "https://github.com/cross-rs/cross/releases/download/$CROSS_VERSION/cross-x86_64-unknown-linux-musl.tar.gz"
tar xf cross-x86_64-unknown-linux-musl.tar.gz
echo "CARGO=cross" >> $GITHUB_ENV
- name: Set target variables
Expand Down

0 comments on commit ef47f04

Please sign in to comment.