Skip to content

Commit

Permalink
fuck aarch64 you can build your own damn release
Browse files Browse the repository at this point in the history
  • Loading branch information
steinuil committed Jan 1, 2025
1 parent 8417b89 commit 0a87f07
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
release-build:
name: Release ${{ matrix.build }}
name: Release ${{ matrix.target }}
runs-on: ${{ matrix.os }}

strategy:
Expand All @@ -19,11 +19,6 @@ jobs:
target: x86_64-unknown-linux-gnu
binary_name: kameloso

- build: linux
os: ubuntu-latest
target: aarch64-unknown-linux-gnu
binary_name: kameloso

- build: windows-gnu
os: windows-latest
target: x86_64-pc-windows-gnu
Expand All @@ -33,13 +28,6 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Install target
run: rustup target add ${{ matrix.target }}

- name: Install musl-tools
if: ${{ endsWith(matrix.target,'musl') }}
run: sudo apt-get install -y musl-tools

- name: Build
run: cargo build --release --target ${{ matrix.target }}

Expand All @@ -53,7 +41,7 @@ jobs:
run: cp -r public kameloso/public

- name: Create archive
run: cd release && zip -r kameloso-${{ matrix.target }}.zip kameloso
run: zip -r kameloso-${{ matrix.target }}.zip kameloso

- name: Upload archive
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 0a87f07

Please sign in to comment.