Skip to content

Commit

Permalink
CI: Build Windows binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
devgianlu committed Apr 3, 2024
1 parent 7febc74 commit b4affdc
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
cc: arm-linux-gnueabihf-gcc
- target: aarch64-linux-gnu
cc: aarch64-linux-gnu-gcc
- target: i686-w64-mingw32
cc: i686-w64-mingw32-gcc
- target: x86_64-w64-mingw32
cc: x86_64-w64-mingw32-gcc
env:
CC: ${{ matrix.cc }}
steps:
Expand Down Expand Up @@ -95,24 +99,38 @@ jobs:
matrix:
include:
- target: x86-64-linux-gnu
goos: linux
goarch: amd64
goamd64: v1
cc: gcc
tar: linux_x86_64
- target: arm-rpi-linux-gnueabihf
goos: linux
goarch: arm
goarm: 6
cc: arm-rpi-linux-gnueabihf-gcc
tar: linux_armv6_rpi
- target: arm-linux-gnueabihf
goos: linux
goarch: arm
goarm: 6
cc: arm-linux-gnueabihf-gcc
tar: linux_armv6
- target: aarch64-linux-gnu
goos: linux
goarch: arm64
cc: aarch64-linux-gnu-gcc
tar: linux_arm64
- target: i686-w64-mingw32
goos: windows
goarch: 386
cc: i686-w64-mingw32-gcc
tar: windows_386
- target: x86_64-w64-mingw32
goos: windows
goarch: amd64
cc: x86_64-w64-mingw32-gcc
tar: windows_x86-64
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -161,6 +179,8 @@ jobs:
-o ./go-librespot -a ./cmd/daemon
tar -zcvf /tmp/out/go-librespot_${{ matrix.tar }}.tar.gz go-librespot README.md
# TODO: copy Windows DLLs to archive

- name: Upload compiled binary
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit b4affdc

Please sign in to comment.