Add aarch64 to release workflow

This commit is contained in:
Filip Tibell 2023-05-06 09:01:46 +02:00
parent 3cc514a301
commit ed1815e173
No known key found for this signature in database
2 changed files with 17 additions and 1 deletions

View file

@ -86,16 +86,31 @@ jobs:
artifact-name: lune-${{ needs.create-release.outputs.manifest_version }}-windows-x86_64 artifact-name: lune-${{ needs.create-release.outputs.manifest_version }}-windows-x86_64
cargo-target: x86_64-pc-windows-msvc cargo-target: x86_64-pc-windows-msvc
- name: Windows aarch64
runner-os: windows-latest
artifact-name: lune-${{ needs.create-release.outputs.manifest_version }}-windows-aarch64
cargo-target: aarch64-pc-windows-msvc
- name: Linux x86_64 - name: Linux x86_64
runner-os: ubuntu-latest runner-os: ubuntu-latest
artifact-name: lune-${{ needs.create-release.outputs.manifest_version }}-linux-x86_64 artifact-name: lune-${{ needs.create-release.outputs.manifest_version }}-linux-x86_64
cargo-target: x86_64-unknown-linux-gnu cargo-target: x86_64-unknown-linux-gnu
- name: Linux aarch64
runner-os: ubuntu-latest
artifact-name: lune-${{ needs.create-release.outputs.manifest_version }}-linux-aarch64
cargo-target: aarch64-unknown-linux-gnu
- name: macOS x86_64 - name: macOS x86_64
runner-os: macos-latest runner-os: macos-latest
artifact-name: lune-${{ needs.create-release.outputs.manifest_version }}-macos-x86_64 artifact-name: lune-${{ needs.create-release.outputs.manifest_version }}-macos-x86_64
cargo-target: x86_64-apple-darwin cargo-target: x86_64-apple-darwin
- name: macOS aarch64
runner-os: macos-latest
artifact-name: lune-${{ needs.create-release.outputs.manifest_version }}-macos-aarch64
cargo-target: aarch64-apple-darwin
name: Build - ${{ matrix.name }} name: Build - ${{ matrix.name }}
runs-on: ${{ matrix.runner-os }} runs-on: ${{ matrix.runner-os }}
steps: steps:
@ -123,6 +138,7 @@ jobs:
else else
cp "output/${{ matrix.cargo-target }}/release/lune" staging/ cp "output/${{ matrix.cargo-target }}/release/lune" staging/
cd staging cd staging
chmod +x lune
zip ../release.zip * zip ../release.zip *
fi fi

View file

@ -5,7 +5,7 @@ default-members = ["packages/cli"]
# Package config values shared across all packages, # Package config values shared across all packages,
# such as version, license, and other metadata # such as version, license, and other metadata
[workspace.package] [workspace.package]
version = "0.6.6" version = "0.6.7"
edition = "2021" edition = "2021"
license = "MPL-2.0" license = "MPL-2.0"
repository = "https://github.com/filiptibell/lune" repository = "https://github.com/filiptibell/lune"