|
21 | 21 | cc: arm-linux-gnueabihf-gcc |
22 | 22 | - target: aarch64-linux-gnu |
23 | 23 | cc: aarch64-linux-gnu-gcc |
| 24 | + - target: i686-w64-mingw32 |
| 25 | + cc: i686-w64-mingw32-gcc |
| 26 | + - target: x86_64-w64-mingw32 |
| 27 | + cc: x86_64-w64-mingw32-gcc |
24 | 28 | env: |
25 | 29 | CC: ${{ matrix.cc }} |
26 | 30 | steps: |
@@ -95,24 +99,38 @@ jobs: |
95 | 99 | matrix: |
96 | 100 | include: |
97 | 101 | - target: x86-64-linux-gnu |
| 102 | + goos: linux |
98 | 103 | goarch: amd64 |
99 | 104 | goamd64: v1 |
100 | 105 | cc: gcc |
101 | 106 | tar: linux_x86_64 |
102 | 107 | - target: arm-rpi-linux-gnueabihf |
| 108 | + goos: linux |
103 | 109 | goarch: arm |
104 | 110 | goarm: 6 |
105 | 111 | cc: arm-rpi-linux-gnueabihf-gcc |
106 | 112 | tar: linux_armv6_rpi |
107 | 113 | - target: arm-linux-gnueabihf |
| 114 | + goos: linux |
108 | 115 | goarch: arm |
109 | 116 | goarm: 6 |
110 | 117 | cc: arm-linux-gnueabihf-gcc |
111 | 118 | tar: linux_armv6 |
112 | 119 | - target: aarch64-linux-gnu |
| 120 | + goos: linux |
113 | 121 | goarch: arm64 |
114 | 122 | cc: aarch64-linux-gnu-gcc |
115 | 123 | tar: linux_arm64 |
| 124 | + - target: i686-w64-mingw32 |
| 125 | + goos: windows |
| 126 | + goarch: 386 |
| 127 | + cc: i686-w64-mingw32-gcc |
| 128 | + tar: windows_386 |
| 129 | + - target: x86_64-w64-mingw32 |
| 130 | + goos: windows |
| 131 | + goarch: amd64 |
| 132 | + cc: x86_64-w64-mingw32-gcc |
| 133 | + tar: windows_x86-64 |
116 | 134 | steps: |
117 | 135 | - uses: actions/checkout@v3 |
118 | 136 | with: |
@@ -161,6 +179,8 @@ jobs: |
161 | 179 | -o ./go-librespot ./cmd/daemon |
162 | 180 | tar -zcvf /tmp/out/go-librespot_${{ matrix.tar }}.tar.gz go-librespot README.md |
163 | 181 |
|
| 182 | + # TODO: copy Windows DLLs to archive |
| 183 | + |
164 | 184 | - name: Upload compiled binary |
165 | 185 | uses: actions/upload-artifact@v3 |
166 | 186 | with: |
|
0 commit comments